Added emmet_ls lsp to the config

This commit is contained in:
josean-dev 2022-11-06 17:35:01 -04:00
parent b5ed50bc33
commit 1c8890fd95
2 changed files with 8 additions and 0 deletions

View file

@ -82,6 +82,13 @@ lspconfig["tailwindcss"].setup({
on_attach = on_attach, on_attach = on_attach,
}) })
-- configure emmet language server
lspconfig["emmet_ls"].setup({
capabilities = capabilities,
on_attach = on_attach,
filetypes = { "html", "typescriptreact", "javascriptreact", "css", "sass", "scss", "less", "svelte" },
})
-- configure lua server (with special settings) -- configure lua server (with special settings)
lspconfig["sumneko_lua"].setup({ lspconfig["sumneko_lua"].setup({
capabilities = capabilities, capabilities = capabilities,

View file

@ -27,6 +27,7 @@ mason_lspconfig.setup({
"cssls", "cssls",
"tailwindcss", "tailwindcss",
"sumneko_lua", "sumneko_lua",
"emmet_ls",
}, },
-- auto-install configured servers (with lspconfig) -- auto-install configured servers (with lspconfig)
automatic_installation = true, -- not the same as ensure_installed automatic_installation = true, -- not the same as ensure_installed