Open nunocf opened 3 weeks ago
I am having the same issue. It happens when trying to execute a code action. For me the problem is on a cpp file.
I noticed that the error happens when using a code action on an unused header file, but not in the code. For example:
Here there are no problems.
But if I apply a code-action to an unused header:
Then the following error appears
0.10.0
6f920cf
Konsole 23.08.5
Because at file begining has no size to show diff window, so neovim dump a Error, but error window can show normal. I don't know why error code_action can move diff window to under.
So is this something we can fix locally or is it an LSP Saga bug? I'd love to be able to help here :)
A bug of LSP Saga.
Describe the bug
I run Lspsaga code_action on a Haskell file with HLS running and I get the following error:
Above it, this also displays: (Sorry, I can only keep one on the screen at a time for a screenshot).
Steps to reproduce
I have a simple haskell file open in Nvim, with Haskell language server running. The code has code actions available, like unused imports:
I run Lspsaga code_action and I get the error messages.
Here's my
nixvim
flake, if you run it, you should have the exact same config as I do.Expected behavior
I'd expect no errors.
Neovim version (nvim -v)
0.10.0 commit
lspsaga commit
2024-06-09 (that's the version in nixpackages unstable) I don't know where the commit is.
Terminal name/version
kitty 0.35.1