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()")