Mercurial > vim
comparison runtime/syntax/tex.vim @ 836:5a7843c57316 v7.0e02
updated for version 7.0e02
author | vimboss |
---|---|
date | Tue, 18 Apr 2006 21:55:01 +0000 |
parents | fd1b3406fd1c |
children | e63691e7c504 |
comparison
equal
deleted
inserted
replaced
835:8bebcabccc2c | 836:5a7843c57316 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: TeX | 2 " Language: TeX |
3 " Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM> | 3 " Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM> |
4 " Last Change: Apr 12, 2006 | 4 " Last Change: Apr 18, 2006 |
5 " Version: 34 | 5 " Version: 35 |
6 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax | 6 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax |
7 " | 7 " |
8 " Notes: {{{1 | 8 " Notes: {{{1 |
9 " | 9 " |
10 " 1. If you have a \begin{verbatim} that appears to overrun its boundaries, | 10 " 1. If you have a \begin{verbatim} that appears to overrun its boundaries, |
389 | 389 |
390 " Separate lines used for verb` and verb# so that the end conditions {{{1 | 390 " Separate lines used for verb` and verb# so that the end conditions {{{1 |
391 " will appropriately terminate. Ideally vim would let me save a | 391 " will appropriately terminate. Ideally vim would let me save a |
392 " character from the start pattern and re-use it in the end-pattern. | 392 " character from the start pattern and re-use it in the end-pattern. |
393 syn region texZone start="\\begin{verbatim}" end="\\end{verbatim}\|%stopzone\>" contains=@Spell | 393 syn region texZone start="\\begin{verbatim}" end="\\end{verbatim}\|%stopzone\>" contains=@Spell |
394 " listings package: | |
395 syn region texZone start="\\begin{lstlisting}" end="\\end{lstlisting}\|%stopzone\>" contains=@Spell | |
396 " moreverb package: | |
397 syn region texZone start="\\begin{verbatimtab}" end="\\end{verbatimtab}\|%stopzone\>" contains=@Spell | |
398 syn region texZone start="\\begin{verbatimwrite}" end="\\end{verbatimwrite}\|%stopzone\>" contains=@Spell | |
399 syn region texZone start="\\begin{boxedverbatim}" end="\\end{boxedverbatim}\|%stopzone\>" contains=@Spell | |
394 if version < 600 | 400 if version < 600 |
395 syn region texZone start="\\verb\*\=`" end="`\|%stopzone\>" | 401 syn region texZone start="\\verb\*\=`" end="`\|%stopzone\>" |
396 syn region texZone start="\\verb\*\=#" end="#\|%stopzone\>" | 402 syn region texZone start="\\verb\*\=#" end="#\|%stopzone\>" |
397 else | 403 else |
398 if b:tex_stylish | 404 if b:tex_stylish |