Yes, b:match_skip is relevant here. The matchit default is to skip strings and comments (unless you use % starting inside a string or comment). The matchit script relies on the syntax mechanism to recognize strings and comments.
HTH --Benji Fisher On Wed, Aug 30, 2006 at 05:37:38PM +1000, Peter Hodge wrote: > Hey, > > Thanks for that important clue. It seems the secret to making it work is in > the values of the b:match_skip and b:match_words variables. Thank you, this > problem has been bugging me for a while. > > regards, > Peter > > > Addendum: It depends on the 'filetype' and possibly on whether %-jumping > > is done by Vim C code or by the matchit script: with the same file, if > > > > :set filetype=vim > > > > % jumps between 1 and 6 (but here the matchit plugin comes into play), > > and matchparen pairs 1 with 6 too. > > > > > > Best regards, > > Tony.
