@dannielarriola/emmet-ls
v0.2.2
Published
emmet support by LSP
Downloads
1
Readme
emmet-ls
Emmet support based on LSP.
Started as coc-emmet replacement for completion-nvim. Should work with any lsp client but not tested.
Install
npm install -g emmet-ls
Configuration
- nvim-lspconfig
local lspconfig = require'lspconfig' local configs = require'lspconfig/configs' local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities.textDocument.completion.completionItem.snippetSupport = true lspconfig.emmet_ls.setup({ -- on_attach = on_attach, capabilities = capabilities, filetypes = { "html", "css", "typescriptreact", "javascriptreact" }, })