diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 20:13:34 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 20:13:34 +0100 |
commit | f9cb5099df7f2eb2cceb715515b2d7a98d6cbc9a (patch) | |
tree | 322a77ffd0ec55ec632ac3574065e060d9493777 /lua | |
parent | 1efe7184e7047747d89ad829128c8a50b7c4d15c (diff) |
Fix error with lsp handler
Diffstat (limited to 'lua')
-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 |