diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 19:00:22 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 19:00:22 +0900 |
commit | f1a1e360abdfabe1eb035733063a5c886aa0a326 (patch) | |
tree | 2f526b240677051d4f17a6f74a158522bde9b045 | |
parent | 8513e223c9d921b8df94fcaf0b2e8fc81cb0f6b2 (diff) | |
download | vim-lsp-settings-f1a1e360abdfabe1eb035733063a5c886aa0a326.tar.gz vim-lsp-settings-f1a1e360abdfabe1eb035733063a5c886aa0a326.tar.bz2 vim-lsp-settings-f1a1e360abdfabe1eb035733063a5c886aa0a326.zip |
Fix configuration
-rw-r--r-- | settings/css-languageserver.vim | 4 | ||||
-rw-r--r-- | settings/html-languageserver.vim | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/settings/css-languageserver.vim b/settings/css-languageserver.vim index 93f83b9..215e7e9 100644 --- a/settings/css-languageserver.vim +++ b/settings/css-languageserver.vim @@ -7,7 +7,7 @@ augroup vimlsp_settings_css_languageserver \ 'initialization_options': lsp_settings#get('css-languageserver', 'initialization_options', v:null), \ 'whitelist': lsp_settings#get('css-languageserver', 'whitelist', ['css']), \ 'blacklist': lsp_settings#get('css-languageserver', 'blacklist', []), - \ 'config': lsp_settings#get('css-languageserver', 'config', v:null), - \ 'workspace_config': lsp_settings#get('css-languageserver', 'workspace_config', {'css-languageserver': {'css.lint.validProperties': [], 'less.lint.validProperties': [], 'scss.lint.validProperties': []}}), + \ 'config': lsp_settings#get('css-languageserver', 'config', {}), + \ 'workspace_config': lsp_settings#get('css-languageserver', 'workspace_config', {'css': {'lint': {'validProperties': []}}}), \ } augroup END diff --git a/settings/html-languageserver.vim b/settings/html-languageserver.vim index 7e65632..0273ac6 100644 --- a/settings/html-languageserver.vim +++ b/settings/html-languageserver.vim @@ -4,7 +4,7 @@ augroup vimlsp_settings_html_languageserver \ 'name': 'html-languageserver', \ 'cmd': {server_info->lsp_settings#get('html-languageserver', 'cmd', [lsp_settings#exec_path('html-languageserver'), '--stdio'])}, \ 'root_uri':{server_info->lsp_settings#get('html-langserver', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/'])))}, - \ 'initialization_options': lsp_settings#get('html-languageserver', 'initialization_options', v:null), + \ 'initialization_options': lsp_settings#get('html-languageserver', 'initialization_options', {'embeddedLanguages': {'css': v:true, 'html': v:true}}), \ 'whitelist': lsp_settings#get('html-languageserver', 'whitelist', ['html']), \ 'blacklist': lsp_settings#get('html-languageserver', 'blacklist', []), \ 'config': lsp_settings#get('html-languageserver', 'config', {}), |