Re: [Vim-latex-devel] PATCH: Fold all %%fake, not just %%fakesection
Brought to you by:
srinathava,
tmaas
From: Gerd W. <ger...@ma...> - 2010-08-10 09:21:32
|
Hi, at least for me, there is one problem with the folding of %%fakesection: They are nested in sections (see attached test.tex). Imho they should be at the same level as section. The attached patch automatically adds %%fakepart, %%fakechapter,... as folded sections and they are folded at the same level as their non-fake counterparts. Regards Gerd On Wed, 24 Mar 2010, Ted Pavlic wrote: > vim-latex documents the use of %%fakesection to create new folds at the same > level as \section folds. To organize my preamble and backmatter, I use > similar sections like %%fakepart, %%fakechapter, %%fakesubsection, etc. > > The attached one-line patch modifies the section of folding.vim so that it > looks for %%fake and not just %%fakesection. That lets me update > g:Tex_FoldedSections to include all of my other %%fake... sections. > > --Ted |