Matchit and parentheses

Doug Kearns dougkearns at gmail.com
Mon May 1 05:55:19 EDT 2006


On Mon, May 01, 2006 at 11:36:36AM +0200, Nikolai Weibull wrote:
> On 5/1/06, Doug Kearns <dougkearns at gmail.com> wrote:
> > On Sun, Apr 30, 2006 at 02:31:56PM +0200, Nikolai Weibull wrote:
> > > Why not add ",(:),{:},[:]" to the end of b:match_words so that we take
> > > advantage of our knowledge of the language to skip parentheses and
> > > braces and so on inside comments?
> >
> > Seems like a good idea.
> >
> > Hmmm, it doesn't seem to work for me though...

<snip>
 
> works for me.

So the commented ']' is skipped?

[1,
  # ]
  2,
  3,
  4]

Regards,
Doug


More information about the vim-ruby-devel mailing list