hrsh7th / cmp-nvim-lsp

nvim-cmp source for neovim builtin LSP client
MIT License
1.29k stars 52 forks source link

fix: get rid of deprecated API use: `vim.lsp.buf_get_clients()` #66

Closed wookayin closed 5 months ago

wookayin commented 9 months ago

buf_get_clients is deprecated.

vim.lsp.get_clients: 0.10+ vim.lsp.get_active_clients: 0.5+

Kazy commented 5 months ago

There are two other instances of use of a deprecated method in init.lua: line 80 (get_active_clients) and 91 (buf_get_clients).

hrsh7th commented 5 months ago

thank you