-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'height' key must be a positive 'Integer' when opening code actions. #1469
Comments
So is this something we can fix locally or is it an LSP Saga bug? |
A bug of LSP Saga. |
Thank you @Kyren223. Unfortunately, I use this with nixvim, would it still be possible to use your fork? Or are there plans to merge this into master? |
@nunocf I don't use nixvim myself but I am sure there is a way to add custom plugins, all you need to do is to use Kyren223/lspsaga.nvim instead of nvimdev/lspsaga.nvim (or if lspsaga is builtin, then disable it and add my plugin the same way you would add a custom plugin that isn't built in to nixvim) |
What's the progress of this issue now? |
Haven't updated LSP Saga in a while, so the issue is still there for me. |
Unfortunately it remains in the newest version, and I don't know how to deal with it neither. |
@Tonelllo In Python, there is a similar issue; if you add a comment at the top of the file, it won't result in an error. |
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
The text was updated successfully, but these errors were encountered: