Syntax highlighting crashes/stops working for C #9807
Unanswered
its-luca
asked this question in
Troubleshooting
Replies: 1 comment
-
This is intentional - we stop trying to highlight the current buffer if it takes tree-sitter longer than 500ms to parse #7028 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
When editing C files, the syntax highlighting sometimes stops working while I edit the code. It feels like this mostly happens if I introduce a syntax error. The issue is "buffer local", i.e. the syntax highlighting still works in other buffers. I observed that after using the
config-reload
command the syntax highlighting works again.Reproduction Steps
Unfortunately I do not have a concrete recipe to reproduce the issue. I have attached a heavily truncated log, that only contains the lines shorty before and directly after the issue occured
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
KDE Konsole 24.02.0
Installation Method
Fedora COPR varlad/helix
Helix Version
helix 23.10 (f6021dd)
Beta Was this translation helpful? Give feedback.
All reactions