-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Helix hangs when attemtpting to open a Zig file. #1269
Comments
Looks like maxxnino/tree-sitter-zig#8 |
I tried bumping tree-sitter-zig to maxxnino/tree-sitter-zig@cf93353 which you can see here: https://github.com/paoda/helix/commit/fddcd85d287c71516bb28e2b4f4d5bbf7ba17c45 However, it seems like the upstream issue hasn't been resolved quite yet. |
Oh, I'm suggesting you upgrade tree-sitter itself (not the grammar) so that it includes this commit: tree-sitter/tree-sitter@25f64e1 |
Whoops, my bad. Bumping |
So the fix worked? :) |
Yeah, I don't know why I left that out 😅 . I assume Helix will resolve this issue whenever tree-sitter receives its next update then. |
Backports the fix for helix-editor/helix#1269.
Reproduction steps
Environment
Note
I tried having
~./config/helix/languages.toml
contain the following:Surprisingly, Helix still hung when trying to open
src/main.zig
What Helix was trying to open can be found here
~/.cache/helix/helix.log
is not written to at any point.The text was updated successfully, but these errors were encountered: