aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-21 13:31:59 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-21 13:31:59 +0900
commitebb2a68c26ecf7602d09b92116025ef47069e26b (patch)
tree5478deb58ab7e4fa319cc71c4207b2e9e4df2602 /settings
parentd506e5e628b259e23002a54923ed27125639b7e7 (diff)
downloadvim-lsp-settings-ebb2a68c26ecf7602d09b92116025ef47069e26b.tar.gz
vim-lsp-settings-ebb2a68c26ecf7602d09b92116025ef47069e26b.tar.bz2
vim-lsp-settings-ebb2a68c26ecf7602d09b92116025ef47069e26b.zip
Add options for vue-language-server
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', {}),