Mercurial > vim
comparison runtime/syntax/tex.vim @ 2152:b9e314fe473f
Updated runtime files.
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Fri, 14 May 2010 23:24:24 +0200 |
parents | 7bc41231fbc7 |
children | a888ed7ba375 |
comparison
equal
deleted
inserted
replaced
2151:ae22c450546c | 2152:b9e314fe473f |
---|---|
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: Dec 28, 2009 | 4 " Last Change: Apr 14, 2010 |
5 " Version: 46 | 5 " Version: 47 |
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, |
75 elseif g:tex_fold_enabled && !has("folding") | 75 elseif g:tex_fold_enabled && !has("folding") |
76 let g:tex_fold_enabled= 0 | 76 let g:tex_fold_enabled= 0 |
77 echomsg "Ignoring g:tex_fold_enabled=".g:tex_fold_enabled."; need to re-compile vim for +fold support" | 77 echomsg "Ignoring g:tex_fold_enabled=".g:tex_fold_enabled."; need to re-compile vim for +fold support" |
78 endif | 78 endif |
79 if g:tex_fold_enabled && &fdm == "manual" | 79 if g:tex_fold_enabled && &fdm == "manual" |
80 set fdm=syntax | 80 setl fdm=syntax |
81 endif | 81 endif |
82 | 82 |
83 " (La)TeX keywords: only use the letters a-zA-Z {{{1 | 83 " (La)TeX keywords: only use the letters a-zA-Z {{{1 |
84 " but _ is the only one that causes problems. | 84 " but _ is the only one that causes problems. |
85 if version < 600 | 85 if version < 600 |