From: "Alexandru E. Ungur" Date: 2006-05-10T20:58:17+09:00 Subject: Re: Simplifying Vim folding >>> sender: "Austin Ziegler" date: "Wed, May 10, 2006 at 08:27:32PM +0900" << On 5/10/06, Doug Kearns wrote: > >G'day folks, > > > >I was planning on simplifying the default folding provided when > >foldmethod=syntax. > > > >Currently pretty much everything is folded but I was planning on > >reducing this to just module/class/method definitions, multi-line > >comments and __END__ data chunks, with an option to disable comment > >folding. > > > >We could, of course, make this 'infinitely' configurable but I see > >little point. Is anyone particularly enamoured with having their > >multi-line regexes folded? ;-) > > Enamoured? No. But there are things that I really like being folded -- > multi-line hash definitions (I wish it extended to multiline array > definitions). > > All in all, I'm mostly happy with the state of folding in the folding. > > This probably makes me unusual, but I'd much rather keep my cases and > if statements foldable. If it's changed in the "official" > distribution, I will need to pretty much stop upgrading because method > folding is too coarse for me. Me too, I like the way folding works right now, folding pretty much everything. That way I only unfold the part of code that I'm currently interested in. Though sometimes I do make use of zR to get the bigger picture... :) I guess, if you make it configurable, it would be ok, so that we can switch ON the 'full folding' mode if we wanted to... All the best, Alex