Bug?: Vim folding for Ruby broken

Hugh Sasse Staff Elec Eng hgs at dmu.ac.uk
Mon Nov 15 09:20:33 EST 2004

On Mon, 15 Nov 2004, Kaspar Schiess wrote:

> Dear vim-ruby-devel list members, this is a repost of a message that was 
> first posted to ruby-lang. Please read the message to find out why it was 
> reposted:

>>> folds correctly, while
>>> +   def foo
>>> |     [1,2,3].each do
>>> |+      puts
>>> ||    end
>>> |   end

deleting all the leading >  from that, and substituting ' ' for [|+]
it folds for me as usual.

Can you tell us what you expected to happen?

Maybe cat a file containing a modeline (like  # vim:set sw=2 et: )
and an example that fails then we can be (mor) sure what we are

>>> does not (simulated fold margin=3).

I don't know what you mean hy "fold margin=3" -- this may be
something I've not learned about yet, but my vim only suggests
wrapmargin when I do :he margin<ctrl-d> .
>> Again, this works for me, unfortunately...


More information about the vim-ruby-devel mailing list