Closed fnune closed 4 months ago
I met this problem, too.
It seems that the function get_clients
is not supported.
So I went to the ~/.local/share/nvim/lazy/lsp_signature.nvim/lua/lsp_signature/init.lua
file, and change the 1028 line from
local clients = vim.lsp.get_clients({ bufnr = bufnr })
to
local clients = vim.lsp.get_active_clients ({bufnr = bufnr})
,
and it works !
Looks like get_clients
is Neovim 0.10+ only. 0.9 (stable) Neovim only provides get_active_clients
.
So lsp_signature
needs to check the Neovim version and use one of either.
See https://neovim.io/doc/user/news.html
Thanks for the quick fix.
Hi! I'm getting this exception after the
lsp_signature
pop-up has appeared, but immediately after I type a character while the pop-up is open:lsp_signature
version: https://github.com/ray-x/lsp_signature.nvim/commit/fc7231f3cf387177c010eae032e0b43499e42709