nvim: add lsp servers for html, htmx, and unocss

This commit is contained in:
Łukasz Pankowski 2024-01-30 21:36:58 +01:00
parent 7582ed78c3
commit 38fe2f7481

View File

@ -51,6 +51,22 @@ local servers = {
telemetry = { enable = false }, telemetry = { enable = false },
}, },
}, },
html = {},
htmx = {},
unocss = {},
}
require 'lspconfig'.html.setup {
filetypes = { "html", "templ" },
}
require 'lspconfig'.htmx.setup {
filetypes = { "html", "templ" },
}
require 'lspconfig'.unocss.setup {
filetypes = { "html", "templ" },
} }
-- Setup neovim lua configuration -- Setup neovim lua configuration