-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ruff server
hangs when performing "code actions" in Helix
#12915
Comments
Welp, looks like I just rubber-ducked my way out of this one. dunno how that misconfig slipped in but changing |
I'm a bit confused here. What was the exact change? The |
@dhruvmanila it's here
|
That's weird because their documentation mentions the use of
while, the I'll need to try this out. |
that is weird. if you think it's worth further reproducing the issue on my end, just let me know @dhruvmanila. Maybe there are logs I can pull? The related issues make me skeptical it's a Helix-specific problem |
Is the config that you provided in the PR description complete? If not, could you provide the remaining parts? I'm curious whether you're using It might also be worth discussing this with the Helix team. Is it |
Yes, that was the complete config for the python language. I tried it with various combinations of pylsp, pyright, and pylyzer. definitely was not including python-lsp-ruff even though i have used it in the past, I was assuming hopefully correctly that I just confirmed the error is persisting when i revert the change, right now i'm just running ruff and pylyzer
ah, so that's how i ended up there! |
Might be related to Issue #416 in
ruff-lsp
, particularly @ssmsossah's comment here that the same thing is happening in NeoVim.Running
ruff server
in Helix. Health checks withhx --health python
all pass.Helix 24.7
ruff 0.6.0
protocol error: InternalError: failed to deserialize diagnostic data: missing field 'range'
The text was updated successfully, but these errors were encountered: