Closed tsakirist closed 1 year ago
I used to have the exact same issue with dressing on renaming stuff, then I compiled and installed the latest commit of nvim (a26c0ecab610021e6ff6d9d738173a69ecd30fcc
in my case) and it stopped giving me the error.
Your repro also seems not to give any errors on the commit I just mentioned. If updating to the latest nvim didn't solve the issue feel free to re-open.
I'm on a more recent commit: NVIM v0.9.0-dev-867+gf9826e1df
and the error still occurs.
Apparently, it doesn't happen with sumneko-lua LSP, but with the rust-analyzer.
With the rust-analyzer the second time that I use CodeActionMenu
command the error occurs.
If you want I can give you the rust file as-well in case you have a rust/cargo setup and you want to debug it.
I just tested this with rust_analyzer and it didn't break, at least with my version of neovim.
If you want I can give you the rust file as-well in case you have a rust/cargo setup and you want to debug it.
Yes, please post it.
Attached in the .zip is the cargo package example.zip
It turns out that the actual culprit of this bug is nvim core. See neovim/neovim#19464.
I also have this issue. I'm on version 0.8.2. Disabling barbecue.nvim solves the issue. I'm also using dressing.nvim.
I also have this issue (using neovim from today, i.e. 6c39edaa7e5060cedfbbf61e88f4aad20fdff73d). How about wrapping the call using pcall
? Looks like that's what lualine did, see https://github.com/nvim-lualine/lualine.nvim/pull/905
Have the same issue here:
hi @utilyre please release a new tag so we can upgrade newer version.
Oh yeah, I forgot to mention. You should use the fix/E36
branch until the upstream gets fixed.
Just wanted to notify that I rebased the fix branch towrads main
to get the latest commits. If you're using lazy.nvim
you'll be fine updating it, on the other hand I think packer.nvim
doesn't deal with push force very well so be aware of that.
I am using packer and I am still facing this issue, any fix?
I am using packer and I am still facing this issue, any fix?
Use fix/E36
branch
I am using packer and I am still facing this issue, any fix?
Use
fix/E36
branch
It works for me thanks!
Any chance that branch can get rebased again or the fix can be merged into main? Looks like the branch is a bit behind now.
Seems like the upstream issue is not getting any updates. I'll just merge the fix commit to main
at this point.
Been getting this again with barbecue enabled, does it happen for anyone else?
Requirements
Expected Behavior
There shouldn't be any error from barbecue, when calling the CodeActionMenu command.
Actual Behavior
Executing
CodeActionMenu
from nvim-code-action-menu causes an error from barbecue (the first time it works, but afterwards callingCodeActionMenu
results in this error)Neovim Version
Minimal Configuration
Reproduction
Just use CodeActionMenu command when LSP gives you a code-action