-
Notifications
You must be signed in to change notification settings - Fork 391
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
Better delimiter highlighting #2776
Comments
Are you sure you are not using Treesitter for highlighting? I believe things look different with VimTeX. See |
Ok, sorry; I see that with default settings I can get the same result as you. So, there are several things going on here:
|
My opinion:
|
Thanks for the great support and confirmation that this is intended behavior. To respond with my opinion:
By the way, love the plugin -- keep up the great work. |
Sorry for the long silence! I've had a lot of stuff going on, including silly stuff such as playing a computer game. It's a phase, it'll pass! In any case:
This are minor things, but at the same time, I think they do make a noticable improvement. Thanks!
Thank you, I'm glad to hear it! |
As of right now,
texMathDelim
has some strange properties that I can't seem to wrangle.texMathZone
, inequalities are recognized as delimiters and not math operators.\frac{1}{2}
instead of the shortcut\frac12
will color the delimiters and numbers as part of the command. This sharply contrasts a similar fraction without a shortcut, like\frac{12}{2}
.\lvert
and\rvert
. The unpaired delimiter '|' is also recognized. But the synonymous command for the unpaired delimiter \vert is only seen as a command.Below is a screenshot demonstrating these properties, where
texMathDelim
is pink,texDelim
is dark blue, andtexCmd
andtexCmdEnv
are yellow.In regards to inequalities being delimiters, this is something particularly strange to me. I haven't heard of <> being delimiters in LaTeX, but I could just be uninformed. Also, If any of these are fixable or problems on my end, I would appreciate support getting it working :).
Edit: fuck, sorry about closing and reopening. was trying to edit to show this other strange thing i realized with regards to math operators not being recognized when superscripted.
The text was updated successfully, but these errors were encountered: