coq_nvim icon indicating copy to clipboard operation
coq_nvim copied to clipboard

upcoming `vim.lsp.buf_get_clients()` deprecation

Open git-girl opened this issue 9 months ago • 0 comments

hey there :3

the newer nvim warn about upcoming deprecation of buf_get_clients when using coq:

vim.lsp.buf_get_clients() is deprecated, use vim.lsp.get_clients() instead. :help deprecated
Feature will be removed in Nvim 0.12
stack traceback:
        /usr/share/nvim/runtime/lua/vim/lsp.lua:1092: in function 'buf_get_clients'
        ...y-cat/.local/share/nvim/lazy/coq/lua/coq/lsp-request.lua:187: in function 'lsp_clients'
        ...y-cat/.local/share/nvim/lazy/coq/lua/coq/lsp-request.lua:262: in function 'lsp_comp'
        [string "<nvim>"]:1: in main chunk
                                                                                                                                                                                                                                                                                                                                                                                            

vim version:

NVIM v0.11.0-dev-25+g0e187fe038
Build type: RelWithDebInfo
LuaJIT 2.1.1713773202
Run "nvim -V1 -v" for more info

coq on current commit:

branch coq
commit 0e03b8c

best regards!

git-girl avatar May 21 '24 11:05 git-girl