Jose Castro wrote:
Hi.In my .vimrc I have: " Add new highlight combinations... highlight WHITE_ON_RED ctermfg=white ctermbg=red highlight RED_ON_YELLOW ctermfg=red ctermbg=yellow highlight BLUE_ON_BLUE ctermfg=blue ctermbg=blue function! BadRefs () " Track "faux" references... match WHITE_ON_RED /_ref[ ]*[[{(]\|_ref[ ]*-[^>]/ endfunction call BadRefs() function! LongLines () " Track lines over 78 characters... 2match RED_ON_YELLOW /.\%>78v/ endfunction call LongLines() function! Tabs () " Track tabs... 3match BLUE_ON_BLUE / / endfunction call Tabs() Now, two questions:1) Is seems the third match conflicts with the matching parens plugin; is there any way to avoid this?
I don't know.
2) Is there a way for me to continue adding matches past the third?
Not in the current Vim version 7, unless you want to hack the C code (at your own risk). In version 6 only one match could be active at a time.
TIA :-) jac ------------------------------------------ José Castro <[EMAIL PROTECTED]> log <www.log.pt> Tel: +351 21 330 42 20 Fax: +351 21 330 42 19 Av. Duque de Ávila nº23, 1000-138 Lisboa ------------------------------------------
Best regards, Tony.
