aboutsummaryrefslogtreecommitdiff
path: root/settings/html-languageserver.vim
blob: b8e9bc845c456ba5556373244d03281a3c07f51a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
augroup vim_lsp_settings_html_languageserver
  au!
  LspRegisterServer {
      \ '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_settings#root_uri('html-languageserver'))},
      \ 'initialization_options': lsp_settings#get('html-languageserver', 'initialization_options', {'embeddedLanguages': {'css': v:true, 'javascript': v:true}}),
      \ 'whitelist': lsp_settings#get('html-languageserver', 'whitelist', ['html']),
      \ 'blacklist': lsp_settings#get('html-languageserver', 'blacklist', []),
      \ 'config': lsp_settings#get('html-languageserver', 'config', lsp_settings#server_config('html-languageserver')),
      \ 'workspace_config': lsp_settings#get('html-languageserver', 'workspace_config', {}),
      \ 'semantic_highlight': lsp_settings#get('html-languageserver', 'semantic_highlight', {}),
      \ }
augroup END