-
-
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
Editor freezes when moving the cursor to specific position in .md
file
#8709
Comments
Did you build from source or use a pre-built package based on the 23.10 tag? This might be #7689 - it's a problem that's fixed in the tree-sitter dependency on master but hasn't been released (in tree-sitter) yet. We reverted to the latest tag release of tree-sitter in #8396 just before releasing 23.10 and switched back to master afterwards, so this should not be reproducible on the latest Helix master if you build from source. |
Indeed, I was using the pre-built package from pacman in both cases and building from source fixes the problem. Somehow I missed that issue! Thanks for the help. |
helix.mp4Ive had the same issue except its when the cursor moves laterally over a character that is adjacent to any "=" signs |
Summary
While editing Markdown files with Lua code blocks, the editor freezes if I place the cursor over some characters; usually around strings, but I also had it happen after an "end" keyword. No error is printed and I'm forced to close the terminal. Removing some of the previous lines, like the backticks and other strings, seems to fix the issue.
I managed to reproduce the issue on a fresh EndeavourOS VM with the stripped down file below, so I guess it is not related to my terminal emulator, language server or clipboard provider.
Reproduction Steps
test.md
file with the following content:hx test.md
Helix log
~/.cache/helix/helix.log
Platform
EndeavourOS Linux x86_64
Terminal Emulator
contour 0.3.12.262-1
Helix Version
helix 23.10-1
The text was updated successfully, but these errors were encountered: