Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
package: fix cmp-nvim-lsp - default_capabilities
Browse files Browse the repository at this point in the history
Breaking change in cmp-nvim-lsp
hrsh7th/cmp-nvim-lsp#38

Update lspconfig configuration to use default_capabilities
  • Loading branch information
practicalli-johnny committed Oct 27, 2022
1 parent 12753d1 commit 45534a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fnl/config/plugin/lspconfig.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(vim.lsp.with
vim.lsp.handlers.signature_help
{:border "single"})}
capabilities (cmplsp.update_capabilities (vim.lsp.protocol.make_client_capabilities))
capabilities (cmplsp.default_capabilities)
on_attach (fn [client bufnr]
(do
(nvim.buf_set_keymap bufnr :n :gd "<Cmd>lua vim.lsp.buf.definition()<CR>" {:noremap true})
Expand Down

0 comments on commit 45534a4

Please sign in to comment.