[nvim.cmp] fix: deprecated function

This commit is contained in:
David JULIEN 2022-10-19 23:27:36 +02:00
parent 5cce96f8ad
commit 13efea3df4

View File

@ -55,7 +55,7 @@ end
-- nvim-cmp supports additional completion capabilities
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
local servers = { "clangd", "sumneko_lua", "texlab" }
lsp_installer.setup {