On Nov 3, 2005, at 2:11 PM, Charilaos Skiadas wrote:
The last changes in the LaTeX Bundle broke down syntax coloring for things like this: $D_1={x_1^2}$ Basically, the { inside math mode is considered constant.language.generic while the } is not. The relevant code is { name = 'constant.language.general'; match = '\([^a-zA-Z]|[A-Za-z]+)(?=\b|}|]|^| _)'; },
Responding to myself to add that this has to do with the fact that \ { is followed by an x. If it is followed by a space or something like that, then it's colored just fine.
Haris