Vim is great at highlighting matching braces. But lately I'm working in Ruby, where method definitions generally start with do and end with end instead of { and }. Similarly, if statements and case statements and others don't use braces, just keywords.

Does anybody have a configuration which can highlight matching keywords like this - for instance, when I'm on an end, highlight the do that started that block?

link|improve this question

62% accept rate
feedback

2 Answers

Try ruby matchit or python matchit.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.