changes from claymore on п'ятниця, 6 грудня 2024 16:12:03 +0200

This commit is contained in:
qugalet 2024-12-06 16:12:03 +02:00
parent 39e3d0c6bc
commit 02bb20aba5

View file

@ -80,6 +80,9 @@ lspconfig.html.setup {
}
lspconfig.gopls.setup({
cmd = { "gopls", "-remote=auto" },
-- attach to new filetypes too.
filetypes = { "go", "gomod", "gowork", "gotmpl", "gohtmltmpl", "gotexttmpl" },
settings = {
gopls = {
hints = {
@ -91,6 +94,7 @@ lspconfig.gopls.setup({
compositeLiteralTypes = true,
functionTypeParameters = true,
},
["build.templateExtensions"] = { "gohtml", "html", "gotmpl", "tmpl" },
}
}
})