diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/config/lsp/handlers.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/config/lsp/handlers.lua b/lua/config/lsp/handlers.lua index 50f6f59..61b7905 100644 --- a/lua/config/lsp/handlers.lua +++ b/lua/config/lsp/handlers.lua @@ -98,8 +98,9 @@ local capabilities = vim.lsp.protocol.make_client_capabilities() local status_ok, cmp_nvim_lsp = pcall(require, "cmp_nvim_lsp") if not status_ok then - M.capabilities = cmp_nvim_lsp.update_capabilities(capabilities) + return end +M.capabilities = cmp_nvim_lsp.update_capabilities(capabilities) return M |