Skip to content

Comment on Vim plugin makes Ruby blocks into text objectsparent

Comments

Yes usually. However ruby doesn't necessarily use single characters (e.g. {/})to indicate the start/end of blocks, so vim doesn't know how to get to the beginning/end of a block.

N.B. When I say blocks I mean the standard understanding of blocks i.e. the code between two curly braces, not ruby blocks which are roughly equivalent to anonymous functions.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.