diff options
Diffstat (limited to 'settings')
-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', {}), |