On Wed, Sep 06, 2006 at 01:03:04AM +0200, Paul van Erk wrote: > More info; I found this in my .(g)vimrc : > > set matchpairs+=?::,=:; > > so that's: PLUS EQUALS QUESTION_MARK COLON COLON COMMA EQUALS COLON SEMICOLON > > It's been in there for ages (checked some backups and I've had my rc file for > 2 years or so, I think) and never gave me any problems. Does anyone know what > it's supposed to do and what the syntax should be? For now I'll comment it > out, so the errors are gone. > > Grts, > Paul
The 'matchpairs' option controls how % finds matching characters. Just as ( and ) are paired, your setting pairs ? with : and = with ; . The matchparen plugin uses the 'matchpairs' option as well. For more details, :help 'matchpairs' HTH --Benji Fisher