From d588774ee7b96f86e67738bf8fb48f3920422fb6 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 4 Nov 2022 09:17:26 +0800 Subject: [PATCH] nvim: remove deprecated stuff --- nvim/lua/lsp-user-config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/lsp-user-config.lua b/nvim/lua/lsp-user-config.lua index 9a3e5be..ef493b0 100644 --- a/nvim/lua/lsp-user-config.lua +++ b/nvim/lua/lsp-user-config.lua @@ -36,7 +36,7 @@ function setup() local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities.textDocument.completion.completionItem.snippetSupport = true - capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities) + capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities) -- Enable the following language servers local servers = { "clangd", "rust_analyzer", "pyright", "tsserver", "rnix", "sumneko_lua" }