From ef9da77d918734e438fdc2b1f55cb87b3f9ba6ea Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Tue, 10 Jan 2023 07:12:45 -0700 Subject: [PATCH] Update deprecated function use --- .config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,