summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-03-01 09:17:26 +0100
committerxengineering <me@xengineering.eu>2024-03-01 09:17:26 +0100
commit07c54a637c219330dc8aea7c04b443c074dccadf (patch)
tree94dcd7a5d4e732af2dd327d7dff6a962a629010a /nvim
parent64bb3b73974a1024d8aa8940f2bede9b0ad7df59 (diff)
downloaddotfiles-07c54a637c219330dc8aea7c04b443c074dccadf.tar
dotfiles-07c54a637c219330dc8aea7c04b443c074dccadf.tar.zst
dotfiles-07c54a637c219330dc8aea7c04b443c074dccadf.zip
nvim: Add gopls LSP server
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index 3fd30c5..273200b 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -55,6 +55,7 @@ local lsp = require'lspconfig'
local servers = {
'clangd',
'pyright',
+ 'gopls',
}
for _, server in ipairs(servers) do
lsp[server].setup{capabilities = capabilities}