My first guess is that you have another copy of the matchparen.vim
plugin lying around.  Try

:scriptnames

and look for something like

path/to/plugin/matchparen.vim

Is this in your personal plugin directory or $VIMRUNTIME ?

     My second guess is that you did not upgrade your runtime files.
Try

:e $VIMRUNTIME/plugin/matchparen.vim

and look at the top few lines.  In my copy, the revision date is April
27.

HTH                                     --Benji Fisher

On Tue, May 02, 2006 at 01:49:25PM +0200, Milan Berta wrote:
> I can still reproduce the wrong behavior of parens. Using vim7.0g.
> 
> Best regards,
> Milan
> 
> On Sun Apr 30, 2006 at 01:57:28PM +0200, Bram Moolenaar wrote:
> > 
> > Milan Berta wrote:
> > 
> > > I was browsing some Vim-scripts and I found strange that a highlighting
> > > of matching parens fails on this line:
> > > 
> > > 
> > > let l:fg=substitute(l:bcdefg,".*\\C" . l:cde . ",\\([^,]\\),.*","\\1","")
> > > 
> > > 
> > > It fails when the cursor is on
> > > - the first, the second of '('
> > > - the first '['
> > > - the last ')'
> > > - everything else is OK.
> > > 
> > > It works well when ':syn off', it fails when ':syn on'. ft=vim.
> > > 
> > > I can reproduce the problem with this simple line alone in a file.vim or
> > > by changing the 'ft' and 'syn' for a buffer.
> > 
> > This problem was fixed a few days ago.  Please try the current snapshot
> > or the next beta (should be later today).

Reply via email to