Exactly. ruby-move-to-block was needed to modify to skip RD
Works perfectly. Many thanks for your work.
Still this patch doesn’t work well at here documents…
Well, at least for imenu it treated this construction correctly:
But this causes a spurious def to appear in the index:
puts "I’m in a fake method"
As you can see, indenting also thinks I’m in a def. That sounds like
it would be hard to code around, though.
I’m just happy to have a working Imenu. Thanks again.
The art of folding problem users into representational shapes.