On Tuesday, November 9, 2004, 11:43:33 AM, Ara.T.Howard wrote:

> On Mon, 8 Nov 2004, Hans Fugal wrote:

>> I haven't had cause to use markers to do folding in ruby much, but I do use
>> the feature. I can't remember at the moment whether foldmethod=syntax or
>> foldmethod=indent works well for ruby code.

> IMHO - neither.  too many folds.  i like to fold class bodies, module bodies,
> and function bodies - and that's all.  either way above does a LOT more.

Isn't there a way to limit the number of folds created by
fm=indent?

I would like to use Vim's folding, but there doesn't seem to be a way
to have it just Do The Right Thing.  I certainly don't want explicit
fold markers in the code.

Cheers,
Gavin