lua-language-server exits on start #11472
-
SummaryHi all! I'm trying to use the lua-language-server with helix and as soon as i open a lua file the line at the bottom says "Language server exited".
Reproduction Steps
Helix log~/.cache/helix/helix.log``` 2024-08-12T15:03:10.972 helix_lsp::transport [ERROR] Exiting lua-language-server after unexpected error: Parse(Error("data did not match any variant of untagged enum ServerMessage", line: 0, column: 0)) 2024-08-12T15:03:10.972 helix_lsp [ERROR] failed to initialize language server: server closed the stream 2024-08-12T15:04:08.654 helix_lsp::transport [ERROR] lua-language-server err: <- StreamClosed ```PlatformPop!_OS 22.04 Terminal Emulatoralacritty Installation Methodapt via the ppa Helix Versionhelix 24.7 (079f544) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I can reproduce this. It looks like this is caused by LuaLS/lua-language-server@40fd1d7 - the server sends on startup:
but this is invalid JSONRPC. Section 4.2 https://www.jsonrpc.org/specification requires |
Beta Was this translation helpful? Give feedback.
-
Reported upstream LuaLS/lua-language-server#2797 |
Beta Was this translation helpful? Give feedback.
-
Thank you for reporting this to the proper channels! |
Beta Was this translation helpful? Give feedback.
Reported upstream LuaLS/lua-language-server#2797