Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv21867
Modified Files:
folding.vim
Log Message:
Change: delete title from the default g:Tex_FoldMisc setting.
(Zhang Linbo)
Change: moved the processing of the 'title' command before other
standard commands/environments, otherwise it might be obsoleted
by the 'titlepage' environment
(Zhang Linbo)
Index: folding.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/folding.vim,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** folding.vim 29 Nov 2003 09:53:50 -0000 1.15
--- folding.vim 30 Nov 2003 02:43:01 -0000 1.16
***************
*** 76,80 ****
" environments or sections.
TexLet g:Tex_FoldedMisc = 'comments,item,slide,'.
! \ 'preamble,title,<<<'
" 1. Use default value if g:Tex_Foldedxxxxxx is not defined
--- 76,80 ----
" environments or sections.
TexLet g:Tex_FoldedMisc = 'comments,item,slide,'.
! \ 'preamble,<<<'
" 1. Use default value if g:Tex_Foldedxxxxxx is not defined
***************
*** 212,216 ****
endif
" }}}
!
" Commands and Environments {{{
" Fold the commands and environments in 2 passes.
--- 212,227 ----
endif
" }}}
!
! " {{{ title
! if g:Tex_FoldedMisc =~ '\<title\>'
! call AddSyntaxFoldItem (
! \ '^\s*\\title\W',
! \ '^\s*\\maketitle',
! \ 0,
! \ 0
! \ )
! endif
! " }}}
!
" Commands and Environments {{{
" Fold the commands and environments in 2 passes.
***************
*** 287,301 ****
" }}}
- " {{{ title
- if g:Tex_FoldedMisc =~ '\<title\>'
- call AddSyntaxFoldItem (
- \ '^\s*\\title\W',
- \ '\\maketitle',
- \ 0,
- \ 0
- \ )
- endif
- " }}}
-
" Manually folded regions {{{
if g:Tex_FoldedMisc = '\(^\|,\)<<<\(,\|$\)'
--- 298,301 ----
|