Sorry if this is the wrong place to ask this, I'm new to the site :/ I asked the same question in TeX StackExchange, and I was pointed here.
My issue is this: when editing in vim, my syntax file highlights underscores and carets when found in non-math text, which is fine, except vim doesn't recognize that "align" is a math environment.
A user in TeX StackExchange suggested that I take a look at my tex.vim
syntax file. I don't have one in ~/.vim
, but I do have one in /usr/share/vim/vim74/syntax/
. There seems to be no real difference in the way align
and equation
are treated in the syntax file, yet Vim highlights only equation
and not align.
How might I fix this?