go related configs

pull/1256/head
DaceKonn 4 months ago
parent dfd5db86b6
commit 8a71fd6770

@ -585,6 +585,20 @@ require('lazy').setup({
-- But for many setups, the LSP (`tsserver`) will work just fine
-- tsserver = {},
--
gopls = {
capabilities = capabilities,
cmd = { 'gopls' },
filetypes = { 'go', 'gomod', 'gowork', 'gotmpl' },
settings = {
gopls = {
completeUnimported = true,
usePlaceholders = true,
analyses = {
unusedparams = true,
},
},
},
},
zls = {
cmd = { 'zls' },
},

Loading…
Cancel
Save