aboutsummaryrefslogtreecommitdiff
path: root/settings/vls.vim
blob: b097f514c161c0963c8e74231bd0cc8c87d3e3ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
augroup vimlsp_settings_vls
  au!
  LspRegisterServer {
      \ 'name': '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('vls'))},
      \ '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': '', 'ts': ''}, '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', lsp_settings#server_config('vls')),
      \ 'workspace_config': lsp_settings#get('vls', 'workspace_config', {}),
      \ 'semantic_highlight': lsp_settings#get('vls', 'semantic_highlight', {}),
      \ }
augroup END