-
Notifications
You must be signed in to change notification settings - Fork 715
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
[BUG] #5249
Comments
I've been trying to diagnose this madness by directly editing /usr/share/kak/rc/filetype/latex.kak and seeing what happens. When I disable all highlighting except
the math highlighting works (and all other highlighting is disabled).
everything breaks! What the hell is going on with this software? |
In the snippet you posted,
The extra line you add is trying to create an anonymous regex highlighter inside |
Version of Kakoune
archlinux 2024.05.18-2
Reproducer
Open a .tex file with this line in it:
Outcome
This gets highlighted as if it were a formula:
Expectations
This should get highlighted instead.
Additional information
It has something to do with the backslash.
If a formula does not start with a backslash, the syntax highlighting works fine.
The text was updated successfully, but these errors were encountered: