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