Re: vim 7 errors

2006-09-06 Thread Bram Moolenaar
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

matchparen tweak (was: vim 7 errors)

2006-09-05 Thread Benji Fisher
On Wed, Sep 06, 2006 at 01:20:13AM +0200, A.J.Mechelynck wrote: It's supposed to treat ? and : on the one hand, and = and ; on the other hand, as paired brackets. However, the matchparen plugin uses a rather elementary algorithm to split 'matchpairs' into individual items: any colons and

Re: vim 7 errors

2006-09-05 Thread Bram Moolenaar
Paul van Erk wrote: I have weird matching pairs erros. It seems vim tries to match ; at the end of lines. The result is: Error detected while processing function SNR20_Highlight_Matching_Pair: line 38: E684: list index out of range: 11 After that I have to ESC like mad to get out of

Re: vim 7 errors

2006-09-05 Thread A.J.Mechelynck
Paul van Erk wrote: Hi, I have weird matching pairs erros. It seems vim tries to match ; at the end of lines. The result is: Error detected while processing function SNR20_Highlight_Matching_Pair: line 38: E684: list index out of range: 11 After that I have to ESC like mad to get out of

Re: vim 7 errors

2006-09-05 Thread Paul van Erk
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

Re: vim 7 errors

2006-09-05 Thread Benji Fisher
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

matchparen tweak (was: vim 7 errors)

2006-09-05 Thread Benji Fisher
On Wed, Sep 06, 2006 at 01:20:13AM +0200, A.J.Mechelynck wrote: It's supposed to treat ? and : on the one hand, and = and ; on the other hand, as paired brackets. However, the matchparen plugin uses a rather elementary algorithm to split 'matchpairs' into individual items: any colons and