-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Error on startup using Kakoune and kak-lsp #464
Comments
LSP requires the client to open the standard input and standard output of the server for data exchange. From the log, the standard input was closed for some reason. The server recorded this exception, indicating that the server did not crash at least, so I tended to be a client-side problem. |
Alright, thanks, I'll open an issue with kak-lsp. I'll keep this issue open just in case action is needed on this end. |
See here. I looked into it myself and came to the same conclusion: the language server is returning a value that is out-of-spec, which is causing |
So, any idea why the server would be providing an out-of-spec |
I looked into it deeper, and it appears that the server is providing an empty array for the Here is the spec from the LSP page:
And here is what kak-lsp is receiving:
|
Thank you for the fix! |
I have not yet determined if this bug is the server's fault or the fault of kak-lsp, but I'm trying here first.
Describe the bug
I am using this language server with Kakoune and kak-lsp, and am experiencing an error and disconnect on startup. This error is not shown by kak-lsp, but is only observable in the log file.
Here is the complete log file:
Log file
To Reproduce
Steps to reproduce the behavior:
kak-lsp.toml
like so (change paths accordingly)::lsp-enable-window
Expected behavior
The language server would start up and provide diagnostics.
Screenshots
There should be a syntax error here, but nothing happens:
Environment
The text was updated successfully, but these errors were encountered: