-
-
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
Crash when editing markdown #9011
Comments
What does the panic message say? Or by crash do you mean that Helix is hanging? This might be #8709 if it's a hang |
it's a hang - terminal freezes, accepts no inputs |
then its almost certainly a duplicate of #8709. This is abug in tree-sitter not in helix. If you switch to the helix master branch the bug is fixed because we use an unreleaesd version of TS with a relevant fix. We just can't do that in official release because package mangers can't deal with that |
Let's close as a duplicate of #8709 |
@pascalkuthe My personal helix branch is branched off of origin/master from 5 weeks ago, but I'm still experiencing the bug. Would I need to do something special to get the TS fix other than just checking it out and recompiling? |
it should be automatically fixed, if you have a small reproduction case you can open an issue with that |
The same reproduction as in #8821, i.e. open a list with three nesting levels and the crash is imminent. |
That is a seperate issue and hence that issue is still open (with a way described to fix it). It has nothing to do with this issue (which is about an endless loop/freeze) |
My apologies, I misinterpreted the comments in this thread it seems. |
Summary
I'm frequently encountering crashes when editing markdown files. It seems to maybe have something to do with code blocks in particular, but I'm not sure.
This seems similar to #8821
Reproduction Steps
hx README.md
:It doesn't immediately crash on edit, but this is happening often. Crash has happened to me both in normal mode and in insert mode. Has occurred on markdown files approximately this short. It seems to occur in moments when the python syntax inside the code blocks is invalid syntax, but the syntax error is in the middle of the block (not the end).
Helix log
~/.cache/helix/helix.log
I'm not clear these error messages are associated with the crash, but they happened around the same time.Platform
macOS
Terminal Emulator
kitty
Installation Method
brew
Helix Version
helix 23.10 (f6021dd)
The text was updated successfully, but these errors were encountered: