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.
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.