nixos/nvim/lspconfig.lua

3 lines
170 B
Lua

local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
require'lspconfig'.gopls.setup{capabilities=capabilities}