folding selection patch for syntax/ruby.vim

Doug Kearns djkea2 at
Fri Apr 23 09:46:48 EDT 2004

On Thu, Apr 22, 2004 at 08:33:57PM +0200, Ward Wouts wrote:
> Hi,
> The following patch lets me turn on folding with 'let ruby_fold = 1' in
> my .vimrc instead of 'set foldmethod=syntax'. This is nice because I
> don't like foldmethod=syntax for every thing.

I usually just add a setlocal foldmethod=syntax to my
.vim/after/ftplugin/ruby.vim file, am I missing something.

> This is also more in line
> with the way the fortran, php, perl, rcs and sh implementations work.
OK, this seems useful so it's in CVS now.



More information about the vim-ruby-devel mailing list