Skip to content

Commit

Permalink
cmp-nvim-lsp: replace deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
ciderale committed Jun 13, 2023
1 parent 18f0289 commit be17815
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/ale-neovim/ale-nvim-lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ with lib; {
end
-- https://github.com/neovim/nvim-lspconfig/wiki/Autocompletion
local caps = vim.lsp.protocol.make_client_capabilities()
caps = require('cmp_nvim_lsp').update_capabilities(caps)
local caps = require('cmp_nvim_lsp').default_capabilities()
-- local lsp_path = vim.env.NIL_PATH or 'target/debug/nil'
local lsp_path = '${pkgs.nil}/bin/nil'
Expand Down

0 comments on commit be17815

Please sign in to comment.