-
Notifications
You must be signed in to change notification settings - Fork 2
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
LSP support and hover not working on openSUSE Tumbleweed linux #7
Comments
At first glance it looks like it is connecting to The zed source (crates/lsp/src/input_handler.rs#L88) splits the message header by newlines and then looks for the header which starts with the "Content-Length: ". The first couple characters being inserted at the front are then causing it to error out since the pattern matching is unsuccesful. I would look to see what the locale of your R installation is in ( |
That's interesting, I had not spotted
|
This was caused by my Thanks! |
Ah good to know! Glad you were able to figure it out. I'll add a note to the readme stating that custom startup messages may cause issues! |
Add caveat providing brief note about #7
The languageserver does not start on opensuse Linux: there is no autocomplete, and no hover info (both do work with the inbuilt Python LSP).
The R languageserver
library(languageserver)
is installed for the user, and for all users, and starts without errors when started manually in an R session.When working with an R file, after installing
zed-r
the following will appear in theZed.log
.After trying to fix this in the settings, I reinstalled Zed to start again from scratch, with a clean settings json. The error is the same remainse the same.
Can you give me pointers how to debug this any further?
The text was updated successfully, but these errors were encountered: