diff options
Diffstat (limited to 'lua/config/lsp')
-rw-r--r-- | lua/config/lsp/handlers.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/config/lsp/handlers.lua b/lua/config/lsp/handlers.lua index 3dcf0dc..50f6f59 100644 --- a/lua/config/lsp/handlers.lua +++ b/lua/config/lsp/handlers.lua @@ -98,9 +98,8 @@ 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 + M.capabilities = cmp_nvim_lsp.update_capabilities(capabilities) end -M.capabilities = cmp_nvim_lsp.update_capabilities(capabilities) return M |