Hi
I am experimenting with sublime text 3 as a replacement for Emacs. I primarily use it to write academic papers in Latex. I noticed that my latex code is not color coded properly. In particular, within a math environment (inline or displayed) some of my greek letters are not colored the same as the others. After investigating it further, I noticed that some (such as \tau, \iota, \zeta, \eta, \theta, and \lambda) are categorized as “text.tex.latex meta.environment.math.block.be.latex meta.group.brace.latex support.function.math.tex” while the others (such as \rho ) are categorized as “text.tex.latex meta.environment.math.block.be.latex meta.group.brace.latex keyword.other.greek.math.tex”. I have also noticed that for those that are categorized as “support.function.math.tex” if I enclose them in a pair of parentheses, they will be categorized as “keyword.other.greek.math.tex”. (The greeks that are misclassified are often, but not always, followed by a subscript “_”, so the problem could be in the regular expression used to define these scopes).
It seems there is a bug somewhere in the latex.sublime-syntax file. Is there any fix for it?
Thanks,
.