From: Rick DeNatale Date: 2007-06-02T06:48:13+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? On 6/1/07, Keith Fahlgren wrote: > On 6/1/07, Rick DeNatale wrote: > > > % works, but I'm using a ruby-matchit plugin I found on vim.org. I'm > > > not sure if this is the same as the dist that a few guys have been > > > working on at rubyforge. > > > > % in vim does something related to what he's asking for, but it > > doesn't automatically highlight the matching token when the cursor > > lands on it's mate. G?Vim will do this for single character matching > > tokens like ( ), [] and {}, as you move the cursor over one of these > > it will highlight its mate if it doesn't have to scroll to do so. > > Actually, mate-highlighting was added in vim 7: > http://vimdoc.sourceforge.net/htmldoc/pi_paren.html#matchparen Right, which is what I use. And as I said, it only highlights pairs of single character delimiters which are unequal, it can't highlight do/end or "/". -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/