aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/vls.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/vls.vim b/settings/vls.vim
index 4d74fa3..b5092c0 100644
--- a/settings/vls.vim
+++ b/settings/vls.vim
@@ -2,9 +2,9 @@ augroup vimlsp_settings_vls
au!
LspRegisterServer {
\ 'name': 'vls',
- \ 'cmd': {server_info->lsp_settings#get('vls', 'cmd', [lsp_settings#exec_path('vls')])},
+ \ 'cmd': {server_info->lsp_settings#get('vls', 'cmd', [lsp_settings#exec_path('vls'), '--stdio'])},
\ 'root_uri':{server_info->lsp_settings#get('vls', 'root_uri', lsp_settings#root_uri(['.git/', 'package.json']))},
- \ 'initialization_options': lsp_settings#get('vls', 'initialization_options', {}),
+ \ 'initialization_options': lsp_settings#get('vls', 'initialization_options', {'config': {'vetur': {'useWorkspaceDependencies': v:false, 'validation': {'template': v:true, 'style': v:true, 'script': v:true}, 'completion': {'autoImport': v:false, 'useScaffoldSnippets': v:false, 'tagCasing': 'kebab'}, 'format': {'defaultFormatter': {'js': v:none, 'ts': v:none}, 'defaultFormatterOptions': {}, 'scriptInitialIndent': v:false, 'styleInitialIndent': v:false}, 'dev': {'logLevel': 'DEBUG'}}, 'css': {}, 'html': {'suggest': {}}, 'javascript': {'format': {}}, 'typescript': {'format': {}}, 'emmet': {}, 'stylusSupremacy': {}}}),
\ 'whitelist': lsp_settings#get('vls', 'whitelist', ['vue']),
\ 'blacklist': lsp_settings#get('vls', 'blacklist', []),
\ 'config': lsp_settings#get('vls', 'config', {}),