From: Kaspar Schiess Date: 2004-11-10T17:40:15+09:00 Subject: Re: rdoc and vim folding Doug Kearns wrote: > Sure, but it seems like a shame people aren't using foldmethod=syntax > simply because the folding is too extensive. Not that it is quite as it should be, but I guess that could just be a bug: Try to fold syntax this code: module A class B def foo [1,2,3].each do puts end end end end Especially the do-end part folds in a weird manner... I have solved the problem by taking out the 'matchgroup' directive from a few syn entries, but that has the obvious disadvantage of not coloring things right. So not all is well with vim either, and I don't have a solution for this yet... regards, kaspar hand manufactured code - www.tua.ch/ruby