aboutsummaryrefslogtreecommitdiff
path: root/settings/json-languageserver.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-16 21:48:27 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-16 21:48:27 +0900
commit98ae102270120be282ad23b8672eeccec2ed3db7 (patch)
tree1a92453636da403fa72b7197894e6045107daa1b /settings/json-languageserver.vim
parente8f73bb5dd8cd167690a50aabe486418835f31f4 (diff)
downloadvim-lsp-settings-98ae102270120be282ad23b8672eeccec2ed3db7.tar.gz
vim-lsp-settings-98ae102270120be282ad23b8672eeccec2ed3db7.tar.bz2
vim-lsp-settings-98ae102270120be282ad23b8672eeccec2ed3db7.zip
Fix url of local schema
Diffstat (limited to 'settings/json-languageserver.vim')
-rw-r--r--settings/json-languageserver.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/json-languageserver.vim b/settings/json-languageserver.vim
index 3ce405b..097900d 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', 'jsonc']),
\ 'blacklist': lsp_settings#get('json-languageserver', 'blacklist', []),
\ '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'] + [{'fileMatch':['/.vim-lsp-settings/settings.json'], 'url': 'https://mattn.github.io/local-schema.json'}]}}}),
+ \ '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'] + [{'fileMatch':['/.vim-lsp-settings/settings.json'], 'url': 'https://mattn.github.io/vim-lsp-settings/local-schema.json'}]}}}),
\ }
augroup END