8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Crate a .tex file with the following line:
$a \in \{0,1\}^n$
Both escaped curly brackets should be highlighted.
They require additional spacing to be properly highlighted.
$a \in \{ 0,1\} ^n$
I think this is not the expected behavior, particularly the space between the second bracket and the exponent seems weird to me.
Maybe I am confused and no highlighting should appear, but then it will be inconsistent, as a minus sing forces the highlighting:
$a \in \{-1,1\}^n$
I hope I am not doing anything wrong and this issue to be helpful.
The text was updated successfully, but these errors were encountered:
Anybody know what this is for?
language-latex/grammars/tex.cson
Lines 214 to 220 in 2447b74
It's the cause of the problem, but I don't even know why it's there.
https://regex101.com/r/FAsSJ5/1
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce & Minimum working example
Crate a .tex file with the following line:
$a \in \{0,1\}^n$
Expected behaviour
Both escaped curly brackets should be highlighted.
Actual behaviour
Additional information
They require additional spacing to be properly highlighted.
$a \in \{ 0,1\} ^n$
I think this is not the expected behavior, particularly the space between the second bracket and the exponent seems weird to me.
Maybe I am confused and no highlighting should appear, but then it will be inconsistent, as a minus sing forces the highlighting:
$a \in \{-1,1\}^n$
I hope I am not doing anything wrong and this issue to be helpful.
The text was updated successfully, but these errors were encountered: