go: add gopls
This commit is contained in:
parent
8555092095
commit
a81f0a2041
@ -11,6 +11,7 @@
|
||||
(nvim-treesitter.withPlugins (parsers: [
|
||||
parsers.c
|
||||
parsers.cpp
|
||||
parsers.go
|
||||
parsers.json
|
||||
parsers.latex
|
||||
parsers.lua
|
||||
@ -30,6 +31,7 @@
|
||||
colorizer
|
||||
fugitive
|
||||
fzf-lua
|
||||
gopls
|
||||
gruvbox
|
||||
nvim-cmp
|
||||
nvim-lspconfig
|
||||
|
@ -184,7 +184,7 @@ cmp.setup({
|
||||
}
|
||||
})
|
||||
|
||||
local servers = { 'pyright', 'rust_analyzer', 'ccls', 'nixd', 'texlab', 'zls' }
|
||||
local servers = { 'pyright', 'rust_analyzer', 'ccls', 'nixd', 'texlab', 'zls', 'gopls' }
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
for _, lsp in pairs(servers) do
|
||||
require('lspconfig')[lsp].setup {
|
||||
|
Loading…
Reference in New Issue
Block a user