Skip to content
Mohammed Saud edited this page Dec 30, 2020 · 3 revisions

Installation

Presently there is only the extracted vscode-html language server.

npm install --global vscode-html-languageserver-bin

Registration

if executable('html-languageserver')
  au User lsp_setup call lsp#register_server({
    \ 'name': 'html-languageserver',
    \ 'cmd': {server_info->[&shell, &shellcmdflag, 'html-languageserver --stdio']},
    \ 'whitelist': ['html'],
  \ })
endif