4 ms·
I'm not a vim user, but I think the problem with Ruby here is that it's not begin/end. It's anything that evaluates to an iterable/end.
by mypalmike 4y ago
I'm not a vim user, but I think the problem with Ruby here is that it's not begin/end. It's anything that evaluates to an iterable/end.
- bhaak 4y agoYes, that's the problem for plain vi(m) which only supports single character braces. matchit/matchup extends this to language specific delimiter words. This animation https://github.com/andymass/vim-matchup#screenshot https://github.com/andymass/vim-matchup#screenshot shows how you can iterate over multiple sequences like if/elsif/else/endif.