diff --git a/private_dot_config/nvim/lua/user/lsp/handlers.lua b/private_dot_config/nvim/lua/user/lsp/handlers.lua index 0bb967a..6ba97ab 100644 --- a/private_dot_config/nvim/lua/user/lsp/handlers.lua +++ b/private_dot_config/nvim/lua/user/lsp/handlers.lua @@ -86,13 +86,11 @@ M.on_attach = function(client) lsp_highlight_document(client) end -local capabilities = vim.lsp.protocol.make_client_capabilities() - local status_ok, cmp_nvim_lsp = pcall(require, "cmp_nvim_lsp") if not status_ok then return end -M.capabilities = cmp_nvim_lsp.update_capabilities(capabilities) +M.capabilities = cmp_nvim_lsp.default_capabilities() return M