-
Notifications
You must be signed in to change notification settings - Fork 200
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
Eglot Bash Language Server: Eglot shouldn't error so strongly when given invalid range objects #597
Comments
Hello, thanks for reporting this. It seems the server is replying to something with invalid results and Eglot isn't being robust enough to handle that. So this is definitely a bug in Eglot and in the bash language server. But it would be nice to have more of that transcript... |
Presumably easy to fix on the Eglot side, so adding the "help wanted" label, as I don't have much time right now. |
I'll try to debug this, but my elisp knowledge is very limited, lets see how far I get. |
For starts, |
After a day debugging this, I found out I didn't have the latest version of the Bash Language Server, updating to the latest version seems to fix this issue, I guess we can close the issue for now, sorry :(. |
Yes, I don't mean to belittle your effort (one full day, I'm so sorry :-) ), but it was clear that this is a server problem. However, Eglot should behave more responsibly when given this invalid data, and this is why I am reopening. |
No worries, I really want to get into elisp, I just find it hard to learn (coming from OOP). But I'll install again the old Bash Language Server and try to handle this invalid data in a better way. |
@iris-garcia Did you get anywhere with this? Could you tell us which version of the bash language server caused this? |
Emacs becomes almost unusable, I can see this error messages:
The text was updated successfully, but these errors were encountered: