Closed ArvinSKushwaha closed 5 months ago
@ArvinSKushwaha Are you certain you're using the latest version of feline? I'm not getting this error.
There's a check in the code:
if vim.fn.has('nvim-0.10') > 0 then
return next(lsp.get_clients { bufnr = 0 }) ~= nil
else
---@diagnostic disable-next-line: deprecated
return next(lsp.get_active_clients { bufnr = 0 }) ~= nil
end
``
Haha, I just realized the error is in the Catppuccin plugin, sorry!
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-164+g3a1515bfee
Operating system/version
Arch Linux
Describe the bug
Deprecation of
vim.lsp.get_active_clients()
. The fix is just one line, swapping theget_active_clients
function forget_clients
and leaving the parameters unchanged, it seems.Steps To Reproduce
Which leads to the following:
Expected Behavior
Repro
No response