mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
Added emmet_ls lsp to the config
This commit is contained in:
parent
b5ed50bc33
commit
1c8890fd95
2 changed files with 8 additions and 0 deletions
|
@ -82,6 +82,13 @@ lspconfig["tailwindcss"].setup({
|
|||
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)
|
||||
lspconfig["sumneko_lua"].setup({
|
||||
capabilities = capabilities,
|
||||
|
|
|
@ -27,6 +27,7 @@ mason_lspconfig.setup({
|
|||
"cssls",
|
||||
"tailwindcss",
|
||||
"sumneko_lua",
|
||||
"emmet_ls",
|
||||
},
|
||||
-- auto-install configured servers (with lspconfig)
|
||||
automatic_installation = true, -- not the same as ensure_installed
|
||||
|
|
Loading…
Reference in a new issue