feat: add support for gohtml
This commit is contained in:
1 parent
581e5d9ca9
commit
5051530282
1 file changed
+3
-2
+3
-2
@@ -116,14 +116,14 @@ return {
|
|||||||
vim.lsp.enable("ts_ls")
|
vim.lsp.enable("ts_ls")
|
||||||
|
|
||||||
vim.lsp.config("html", {
|
vim.lsp.config("html", {
|
||||||
filetypes = { "html", "ejs", "vue" },
|
filetypes = { "html", "ejs", "vue", "gohtml" },
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.enable("html")
|
vim.lsp.enable("html")
|
||||||
|
|
||||||
vim.lsp.config("emmet_language_server", {
|
vim.lsp.config("emmet_language_server", {
|
||||||
filetypes = { "html", "css", "javascriptreact", "typescriptreact", "vue" },
|
filetypes = { "html", "css", "javascriptreact", "typescriptreact", "vue", "gohtml" },
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -156,6 +156,7 @@ return {
|
|||||||
|
|
||||||
vim.lsp.config("gopls", {
|
vim.lsp.config("gopls", {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
filetypes = { "go", "gomod", "gowork", "gotmpl", "gohtml" },
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.enable("gopls")
|
vim.lsp.enable("gopls")
|
||||||
|
|||||||
Reference in new issue
Block a user