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

Deprecation warnings #16

Open
pazz opened this issue Nov 12, 2024 · 0 comments · May be fixed by #17
Open

Deprecation warnings #16

pazz opened this issue Nov 12, 2024 · 0 comments · May be fixed by #17

Comments

@pazz
Copy link

pazz commented Nov 12, 2024

Hi! Thanks for the great plugin!

Just to report, on neovim from recent upstream, some calls made in this plugin are deprecated.

:version                                                                         
NVIM v0.11.0-dev-1102+gba40a6dbe3                                                          
Build type: RelWithDebInfo                                                                 
LuaJIT 2.1.1727870382
- WARNING vim.lsp.get_active_clients() is deprecated. Feature will be removed in Nvim 0.12
  - ADVICE:
    - use vim.lsp.get_clients() instead.
    - stack traceback:
        /home/patrick/.local/share/nvim/lazy/ltex-utils.nvim/lua/ltex-utils/ltex_lsp.lua:20
        /home/patrick/.local/share/nvim/lazy/ltex-utils.nvim/lua/ltex-utils/actions.lua:116
        /home/patrick/.local/share/nvim/lazy/ltex-utils.nvim/lua/ltex-utils/init.lua:124
        /home/patrick/.config/nvim/lua/plugins/lspconfig.lua:259
        /home/patrick/.local/share/nvim/lazy/nvim-lspconfig/lua/lspconfig/configs.lua:284
        /home/patrick/.local/share/nvim/lazy/nvim-lspconfig/lua/lspconfig/configs.lua:240
        [C]:-1
        /usr/local/share/nvim/runtime/lua/vim/lsp/client.lua:525
        /usr/local/share/nvim/runtime/lua/vim/lsp/client.lua:945
        /usr/local/share/nvim/runtime/lua/vim/lsp/client.lua:610
        vim/_editor.lua:0

pazz added a commit to pazz/ltex-utils.nvim that referenced this issue Nov 13, 2024
from neovim 0.12 onwards, `vim.lsp.get_active_clients()` is deprecated.
This commit replaces the corresponding calls by ones to the updated API.

fixes jhofscheier#16
@pazz pazz linked a pull request Nov 13, 2024 that will close this issue
pazz added a commit to pazz/ltex-utils.nvim that referenced this issue Nov 14, 2024
from neovim 0.12 onwards, `vim.lsp.get_active_clients()` is deprecated.
This commit replaces the corresponding calls by ones to the updated API.

fixes jhofscheier#16
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

Successfully merging a pull request may close this issue.

1 participant