aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-17 17:33:26 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-17 17:33:26 +0900
commit42b7d395f17c1b677a53d8bec593365614e3ea7c (patch)
treed768c49f87596983f87422df1ae333a1bdbf1bd0 /settings
parente286d357d0459ebbc7c5365ed0fadc8d04cbb368 (diff)
downloadvim-lsp-settings-42b7d395f17c1b677a53d8bec593365614e3ea7c.tar.gz
vim-lsp-settings-42b7d395f17c1b677a53d8bec593365614e3ea7c.tar.bz2
vim-lsp-settings-42b7d395f17c1b677a53d8bec593365614e3ea7c.zip
Revert 16d44096c416295c4762aefbc139b139a2aa8caf
Diffstat (limited to 'settings')
-rw-r--r--settings/yaml-language-server.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/yaml-language-server.vim b/settings/yaml-language-server.vim
index 118baf0..5befceb 100644
--- a/settings/yaml-language-server.vim
+++ b/settings/yaml-language-server.vim
@@ -8,6 +8,6 @@ augroup vimlsp_settings_yaml_language_server
\ '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', lsp_settings#server_config('yaml-language-server')),
- \ 'workspace_config': lsp_settings#get('yaml-language-server', 'workspace_config', {}),
+ \ '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