From: ara.t.howard@... Date: 2006-05-12T02:37:31+09:00 Subject: Re: Simplifying Vim folding On Fri, 12 May 2006, Mauricio Fernandez wrote: > On Fri, May 12, 2006 at 02:08:09AM +0900, ara.t.howard@noaa.gov wrote: >> On Fri, 12 May 2006, Mauricio Fernandez wrote: >> >>> * it is possible to specify additional "top-level" folds with #{{{ / #}}} >>> and additional "nestable" folds with {{{{ / }}}}. >> >> you need to use >> >> #--{{{ / #--}}} >> >> #--{{{{ / #--}}}} >> >> >> or else the #{{{ totally horks rdoc. fyi. > > I'm matching against /\{\{\{\{/ and /^\s*[#%"0-9]{0,4}\s*\{\{\{[^{]/, so > #--{{{{ would work fine. === === > ^ > don't remember why > > Would > # {{{ > (with extra spaces) also break rdoc? And ##{{{? While we're at it, #%{{{ > should be safe. > > #--{{{ is out because... well, I didn't want it to conflict with your > markers :) > -- > Mauricio Fernandez - http://eigenclass.org - singular Ruby boy. reading this post in vim is tough! there are a lot of folds! ;-) dunno about the spaces - i think i arrived at #-- because that's some sort of flag for rdoc to ignore comments, so any such char should work. cheers. -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama