diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-18 23:59:16 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-18 23:59:16 +0900 |
commit | be347354f073a3f8f738add4a12281a1d78813ef (patch) | |
tree | a41b5d1d2e9c29bd7dc8acb519cb2305c0ac49f3 /settings | |
parent | 04aafef762f381445ec45c0e6e425886c2210f2c (diff) | |
download | vim-lsp-settings-be347354f073a3f8f738add4a12281a1d78813ef.tar.gz vim-lsp-settings-be347354f073a3f8f738add4a12281a1d78813ef.tar.bz2 vim-lsp-settings-be347354f073a3f8f738add4a12281a1d78813ef.zip |
Pass name and key
Diffstat (limited to 'settings')
-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 c7ad3ae..b233342 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', {->{'json': {'format': {'enable': v:true}, 'schemas': json_decode(join(readfile(expand('<sfile>:h:h') . '/data/catalog.json'), "\n"))['schemas']}}}), + \ '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 |