-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Issues with pyls
#33
Comments
It looks like you have Do you have a sample project I could test on? |
You may try testing on my WIP project https://github.com/tuxiqae/Friecipe Or any other Python project TBH |
P.S. Seems like
|
So this is a language server integration issue, I was able to navigate your project without issue, but I don't have pyls at all, so that may have helped. I think the editor should probably show an error, saying it couldn't start/communicate with the language server and just disables it to prevent crashing unexpectedly |
Reopening because I'd still like to solve the underlying cause, but at least it shouldn't panic anymore |
I don't think this is specific to |
Some debug logging reveals that language servers may sometimes send ill-formed messages:
Notice that the last message does not look right at all. |
#306 should fix this issue. (I think the pyls error is also caused by the |
Seems like Helix panics when it tries to open Python files specifically, I tried both large and small files, it panicked on both, both when the file is given using the CLI and both when selected through the
:open <file.py>
option.I was able to open
TOML, Rust, C, C++, txt, XML, CSV, JSON
perfectly well.Reproducible in both
helix-git
andhelix-bin
AUR packages.(Seems like it also panics when I try to extract the version on the
helix-git
package)Active Rust versions:
The text was updated successfully, but these errors were encountered: