diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-14 02:34:57 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-14 02:34:57 +0900 |
commit | d61017eeb5241f889249c33f40c80d7fe268cba0 (patch) | |
tree | 27a495a6cc225fac622e09da75eb3cb0c9a27bc1 /settings/json-languageserver.vim | |
parent | 914b9bbdca4bbe0266b796b844f6960b3d34607b (diff) | |
download | vim-lsp-settings-d61017eeb5241f889249c33f40c80d7fe268cba0.tar.gz vim-lsp-settings-d61017eeb5241f889249c33f40c80d7fe268cba0.tar.bz2 vim-lsp-settings-d61017eeb5241f889249c33f40c80d7fe268cba0.zip |
Add server configs
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 a19b3b6..9af1d69 100644 --- a/settings/json-languageserver.vim +++ b/settings/json-languageserver.vim @@ -7,7 +7,7 @@ augroup vimlsp_settings_json_languageserver \ 'initialization_options': lsp_settings#get('json-languageserver', 'initialization_options', v:null), \ 'whitelist': lsp_settings#get('json-languageserver', 'whitelist', ['json', 'jsonc']), \ 'blacklist': lsp_settings#get('json-languageserver', 'blacklist', []), - \ 'config': lsp_settings#get('json-languageserver', 'config', {}), + \ 'config': lsp_settings#get('json-languageserver', 'config', lsp_settings#server_config('json-languageserver')), \ 'workspace_config': lsp_settings#get('json-languageserver', 'workspace_config', {name, key->{'json': {'format': {'enable': v:true}, 'schemas': json_decode(join(readfile(expand('<sfile>:h:h') . '/data/catalog.json'), "\n"))['schemas']}}}), \ } augroup END |