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).

-- 
JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN
                    WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE
                    BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE
                    EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR
                    LAUNCELOT
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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    ///

Reply via email to