[Vim-latex-cvs] vimfiles/ftplugin/latex-suite folding.vim,1.23,1.24
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-12-04 00:10:22
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv5083 Modified Files: folding.vim Log Message: Fix: Patch to restrict runaway folding with commands... (Zhang Linbo) Index: folding.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/folding.vim,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** folding.vim 2 Dec 2003 11:16:04 -0000 1.23 --- folding.vim 4 Dec 2003 00:10:18 -0000 1.24 *************** *** 283,287 **** " will _not_ start a fold. " In other words, the pattern is safe, but not exact. ! call AddSyntaxFoldItem('^\s*\\'.s.'{[^{}]*$','^\s*}',0,0) else call AddSyntaxFoldItem('^\s*\\begin{'.s,'^\s*\\end{'.s,0,0) --- 283,287 ---- " will _not_ start a fold. " In other words, the pattern is safe, but not exact. ! call AddSyntaxFoldItem('^\s*\\'.s.'{[^{}]*$','^[^}]*}',0,0) else call AddSyntaxFoldItem('^\s*\\begin{'.s,'^\s*\\end{'.s,0,0) |