-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Quitting Helix when ocamllsp
was active causes delay and exits with an error.
#5400
Comments
Next time, please use the bug format to help diagnose the issue. This may be a duplicate of #2059 |
Apologies. I'll update the necessary fields in my next comments. #2059 happens on Reproduction Steps
helix.logPlatform
Helix Version
This could be a problem at the LSP Implementation. We can close this here if that's the case. |
This part of the log is relevant:
That is stderr output from the language server. It looks like it can't parse the shutdown message. It will take some investigation into the ocamllsp codebase but this looks like an upstream bug to me. |
Hi! ocaml-lsp contributor here. If I understand correctly, helix is violating the spec by sending
What do you think? cc @rgrinberg |
Ah good catch, the jsonrpc spec is pretty unambiguous about this:
https://www.jsonrpc.org/specification#parameter_structures It should be a small fix to correct this on our end. I'll post a PR. |
When quitting the editor from an OCaml source file with
ocamllsp
active, there is a noticeable delay before exiting with the following error:The text was updated successfully, but these errors were encountered: