Closed pysan3 closed 2 days ago
Hi @pysan3
Thanks for your kind words.
Regarding vim.lsp.buf_get_clients
, had no seen this yet. Thanks for the heads up. I'll make the necessary changes over the weekend.
Keep you posted.
-Cédric
Fix is up. Let me know if you encounter any problem.
I got an error
fancy.nvim/lua/lualine/components/fancy_lsp_servers.lua:10: attempt to call field 'get_clients' (a nil value)
nvim --version NVIM v0.9.5
Arg. I was afraid of this. I tested on 0.10.0. Let me roll this back. I'll make a more robus fix.
I just pushed a more robust fix. I tested it with 0.9.5, 0.10.0 and nightly. I don't see any more warnings. If you encounter any issue in your particular config, of course, feel free to re-open.
Thank you @meuter for the amazing plugin.
As you can see in the error message below,
vim.lsp.buf_get_clients
is deprecated in neovim core and I get a warning message everytime I launch neovim.Could you fix it to use
vim.lsp.get_clients
instead? More information found in:h deprecated
.