You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running neovim NVIM v0.6.0-dev+1551-g0e22a40b6, and just updated a all of my plugins with Packer.
I am also using gopls, built-in LSP, and nvim-lspfuzzy. Previously, I would call vim.lsp.buf.definition() via a keybinding when hovering over a keyword in go. Often, there is only a single definition location, so my buffer would be moved automatically to that location. Further, if there were multiple definitions, I would get the fuzzy complete pop-up and could choose my definition.
For some reason, after upgrading, when I make a vim.lsp.buf.definition() call, I am getting the following error:
I also get this same error when calling vim.lsp.buf.implementation() and vim.lsp.buf.references().
I know that this is a nvim-lspfuzzy related issue, since when I disable nvim-lspfuzzy, these same function calls work as expected (except I don't get the pretty fuzzy pop-up!)
I am wondering if I am missing some configuration item here, or if this is an actual bug.
Please let me know if you would like additional information for re-producability.
The text was updated successfully, but these errors were encountered:
Basically you're in a detached commit between 0.5 and the commit 23fe6dba1 from Neovim which has introduced breaking change to the LSP handlers.
The plugin works for Neovim 0.5 and nightly/master (and additionally for all commits after 23fe6dba1) so I suggest you update Neovim. If you can't, you should checkout the old-handlers tag. Tell me if one of these solutions works for you.
Hi,
I'm running neovim
NVIM v0.6.0-dev+1551-g0e22a40b6
, and just updated a all of my plugins with Packer.I am also using
gopls
, built-in LSP, andnvim-lspfuzzy
. Previously, I would callvim.lsp.buf.definition()
via a keybinding when hovering over a keyword in go. Often, there is only a single definition location, so my buffer would be moved automatically to that location. Further, if there were multiple definitions, I would get the fuzzy complete pop-up and could choose my definition.For some reason, after upgrading, when I make a
vim.lsp.buf.definition()
call, I am getting the following error:Error executing vim.schedule lua callback: vim/shared.lua:199: Expected table, got string
I also get this same error when calling
vim.lsp.buf.implementation()
andvim.lsp.buf.references()
.I know that this is a
nvim-lspfuzzy
related issue, since when I disablenvim-lspfuzzy
, these same function calls work as expected (except I don't get the pretty fuzzy pop-up!)I am wondering if I am missing some configuration item here, or if this is an actual bug.
Please let me know if you would like additional information for re-producability.
The text was updated successfully, but these errors were encountered: