diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 2fc5d9e..85f6814 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -325,7 +325,7 @@ cmp.setup({ }) local capabilities = vim.lsp.protocol.make_client_capabilities() -capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities) +capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities) require'lspconfig'.gopls.setup{ on_attach = on_attach,