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.
OK, now I can reproduce it. This patch will fix the problem: *** ../vim-7.0.090/runtime/plugin/matchparen.vim Tue Aug 8 18:08:54 2006 --- runtime/plugin/matchparen.vim Wed Sep 6 20:43:30 2006 *************** *** 44,50 **** let before = 0 let c = getline(c_lnum)[c_col - 1] ! let plist = split(&matchpairs, ':\|,') let i = index(plist, c) if i < 0 " not found, in Insert mode try character before the cursor --- 44,50 ---- let before = 0 let c = getline(c_lnum)[c_col - 1] ! let plist = split(&matchpairs, '.\zs\([:,]\|$\)') let i = index(plist, c) if i < 0 " not found, in Insert mode try character before the cursor -- GUARD #2: It could be carried by an African swallow! GUARD #1: Oh, yeah, an African swallow maybe, but not a European swallow, that's my point. GUARD #2: Oh, yeah, I agree with that... The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///