Syntax highlighting of TeX is not handled within vim-latex. The
syntax/tex.vim file is distributed with Vim.
Technically, vim-latex could release patches to syntax/tex.vim with
instructions to install in ~/.vim/after/syntax/, but the best solution
would be to take these bugs up with the maintainer of syntax/tex.vim
inside the Vim distribution.
When I view:
/usr/share/vim/vim73/syntax/tex.vim
on my system, the header says:
" Vim syntax file
" Language: TeX
" Maintainer: Dr. Charles E. Campbell, Jr.
<NdrchipO@ScampbellPfamily.AbizM>
" Last Change: Apr 24, 2012
" Version: 73
" URL:
http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
However, I also recommend that you take a look at some of the "Notes" in
the leading comments in that file. In particular,
"2. Run-on equations ($..$ and $$..$$, particularly) can also be stopped
by suitable use of %stopzone."
--Ted
On 08/14/2012 05:32 AM, 蘇連傑 wrote:
> Here [
> http://tex.stackexchange.com/questions/52235/vim-latex-with-strange-unwanted-highlighting
> ] is the same issue.
>
> Although it was said that this is a bug of Ubuntu, but I have tested on
> Windows8 and Windows XP with the latest vim-latex (and gvim 7.3, of
> course), it still exists (see screenshot).
>
> It is clearly that vim-latex failed on some match on `{}`, I think this
> is the reason of this issue.
>
> --
> 知识共享,世界大同……
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> Vim-latex-devel mailing list
> Vim...@li...
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
--
Ted Pavlic <te...@te...>
|