diff options
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 |