Open GoogleCodeExporter opened 9 years ago
I just found a way to fix this problem! After some vimming, I found replacing
line 469 with the following lines sufficient to fix this problem!
syn region texMathZoneZext start="{" end="}" transparent contained
syn region texMathZoneZ matchgroup=texStatement start="\\ensuremath\s*{" matchgroup=texStatement end="}" end="%stopzone\>" contains=@texMathZoneGroup,texMathZoneZext
Original comment by ewtoo...@gmail.com
on 22 Jan 2015 at 7:14
Please try syntax/tex.vim v84 from my website:
http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
Original comment by drc...@campbellfamily.biz
on 22 Jan 2015 at 9:36
Thanks, Dr. Chip. Your update does indeed fix the brace tracking issue, but it
also changes highlighting elsewhere. Underscores have changed colour from
orange to magenta. I don't know if this was intentional or not. On the other
hand, though, it did fix a different error I hadn't even seen until now. In the
old version, the following
\begin{equation}
\frac{r_a}{r_b}
\end{equation}
displays a in orange and b in magenta. They're both magenta now.
Original comment by ewtoo...@gmail.com
on 23 Jan 2015 at 6:21
Original issue reported on code.google.com by
ewtoo...@gmail.com
on 22 Jan 2015 at 5:39