From: Doug Kearns Date: 2006-05-13T17:47:05+09:00 Subject: Re: Simplifying Vim folding On Wed, May 10, 2006 at 08:27:32PM +0900, Austin Ziegler wrote: > Enamoured? No. But there are things that I really like being folded -- > multi-line hash definitions (I wish it extended to multiline array > definitions). I'll include something in the next release but in the meantime you can just add syn region rubyArrayLiteral start="\%(^\|\s\)\[" end="]" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo fold to ~/.vim/after/syntax/ruby.vim. It should work for the common cases... > All in all, I'm mostly happy with the state of folding in the folding. Good. I was under the impression that almost everyone found the folding excessive. > 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. I'll make any changes configurable. Thanks, Doug