Update deprecated function use

This commit is contained in:
Kevin Cotugno 2023-01-10 07:12:45 -07:00
parent f6bd6bdec1
commit ef9da77d91

View File

@ -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,