init.vim: activar gopls

This commit is contained in:
Cat /dev/Nulo 2021-11-10 12:22:57 -03:00
parent a62cd8e6cb
commit cf8971cfe4

View file

@ -62,7 +62,7 @@ local on_attach = function(client, bufnr)
end end
local servers = { 'zls' } local servers = { 'zls', 'gopls' }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup { nvim_lsp[lsp].setup {
on_attach = on_attach, on_attach = on_attach,