Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upcoming vim.lsp.buf_get_clients() deprecation #634

Open
git-girl opened this issue May 21, 2024 · 0 comments
Open

upcoming vim.lsp.buf_get_clients() deprecation #634

git-girl opened this issue May 21, 2024 · 0 comments

Comments

@git-girl
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant