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/yaml-language-server.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/yaml-language-server.vim')
-rw-r--r-- | settings/yaml-language-server.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/yaml-language-server.vim b/settings/yaml-language-server.vim index e16abef..00734b0 100644 --- a/settings/yaml-language-server.vim +++ b/settings/yaml-language-server.vim @@ -7,7 +7,7 @@ augroup vimlsp_settings_yaml_language_server \ 'initialization_options': lsp_settings#get('yaml-language-server', 'initialization_options', v:null), \ 'whitelist': lsp_settings#get('yaml-language-server', 'whitelist', ['yaml']), \ 'blacklist': lsp_settings#get('yaml-language-server', 'blacklist', []), - \ 'config': lsp_settings#get('yaml-language-server', 'config', {}), + \ 'config': lsp_settings#get('yaml-language-server', 'config', lsp_settings#server_config('yaml-language-server')), \ 'workspace_config': lsp_settings#get('yaml-language-server', '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 |