From 3944f08bf596a6be17ec0e6cb04fd846770088e4 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 17 Oct 2022 09:23:07 +0200 Subject: [PATCH] nvim: deprecations --- .config/nvim/lua/plugins/lsp-config.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/lsp-config.lua b/.config/nvim/lua/plugins/lsp-config.lua index a1a0cb2..f7e4eee 100644 --- a/.config/nvim/lua/plugins/lsp-config.lua +++ b/.config/nvim/lua/plugins/lsp-config.lua @@ -1,7 +1,6 @@ local lspconfig = require("lspconfig") -local capabilities = vim.lsp.protocol.make_client_capabilities() -capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities) +local capabilities = require("cmp_nvim_lsp").default_capabilities() vim.keymap.set("n", "K", "lua vim.lsp.buf.hover()") vim.keymap.set("i", "", "lua vim.lsp.buf.signature_help()")