diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-18 23:52:52 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-18 23:52:52 +0900 |
commit | 2eb802d2bd1cc13bece981d9af7752240aa33322 (patch) | |
tree | e824b045817532e6834008ad691bd2f6e97977df /settings/json-languageserver.vim | |
parent | 92500966993fd19b8fe3050b1c2d9572a46151a6 (diff) | |
download | vim-lsp-settings-2eb802d2bd1cc13bece981d9af7752240aa33322.tar.gz vim-lsp-settings-2eb802d2bd1cc13bece981d9af7752240aa33322.tar.bz2 vim-lsp-settings-2eb802d2bd1cc13bece981d9af7752240aa33322.zip |
JSON Schemas
Diffstat (limited to 'settings/json-languageserver.vim')
-rw-r--r-- | settings/json-languageserver.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/json-languageserver.vim b/settings/json-languageserver.vim index e1f3375..c7ad3ae 100644 --- a/settings/json-languageserver.vim +++ b/settings/json-languageserver.vim @@ -8,6 +8,6 @@ augroup vimlsp_settings_json_languageserver \ 'whitelist': lsp_settings#get('json-languageserver', 'whitelist', ['json']), \ 'blacklist': lsp_settings#get('json-languageserver', 'blacklist', []), \ 'config': lsp_settings#get('json-languageserver', 'config', {}), - \ 'workspace_config': lsp_settings#get('json-languageserver', 'workspace_config', {}), + \ 'workspace_config': lsp_settings#get('json-languageserver', 'workspace_config', {->{'json': {'format': {'enable': v:true}, 'schemas': json_decode(join(readfile(expand('<sfile>:h:h') . '/data/catalog.json'), "\n"))['schemas']}}}), \ } augroup END |