add gopls to nvim
This commit is contained in:
parent
20a8684f60
commit
ca6a9fdafb
|
@ -635,7 +635,7 @@ in
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls', 'nil_ls'}
|
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls', 'nil_ls', 'gopls'}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
|
@ -864,6 +864,7 @@ in
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
clj-kondo
|
clj-kondo
|
||||||
zls
|
zls
|
||||||
|
gopls
|
||||||
gcc
|
gcc
|
||||||
nodePackages_latest.pyright
|
nodePackages_latest.pyright
|
||||||
shellcheck
|
shellcheck
|
||||||
|
|
Loading…
Reference in a new issue