diff options
author | Chris <[email protected]> | 2021-03-17 20:32:52 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-17 20:32:52 -0400 |
commit | 6ed2437edbbc49f03df1023f4dae723cc7ba77d3 (patch) | |
tree | d0b3cf04722baeb9ea042be98af38d9c56c1d292 /lua/lsp/html-ls.lua | |
parent | 32669553598a8c8b36b2c1884744fee2363b4120 (diff) |
new language servers and smart document highlighting
Diffstat (limited to 'lua/lsp/html-ls.lua')
-rw-r--r-- | lua/lsp/html-ls.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/lsp/html-ls.lua b/lua/lsp/html-ls.lua new file mode 100644 index 00000000..8a13abdb --- /dev/null +++ b/lua/lsp/html-ls.lua @@ -0,0 +1,8 @@ +-- npm install -g vscode-html-languageserver-bin +local capabilities = vim.lsp.protocol.make_client_capabilities() +capabilities.textDocument.completion.completionItem.snippetSupport = true + +require'lspconfig'.html.setup { + on_attach = require'lsp'.common_on_attach, + capabilities = capabilities +} |