Yakov Lerner wrote:

> I am changing and trying different of colors for 'hi MatchParen' , and
> inevitably I get into this problem: I get into situation when the
> paren is *already* that color!!! and thus highlighting is not visible
> !!  Does anybody get this, too ? (I work in console vim).
> 
> So: is it possible maybe that matchparen.vim check for this, and if
> the other paren is already same color as MatchParen, use some
> substitute (for example reverse of MatchParen, or MatchParen2) ?
> 
> I tried quite lot of colors for MatchParen. But this color clash
> inevitably happens again, and then I change my MatchParen again.  It
> does not happen often, but when it happens, it's the "heh ? matchparen
> doesn't work ?" feeling.

It's not really possible to check the color of the character and then
use something else.  The coloring should be unique.  But when you only
have 8 colors that will not be possible.

The only solution is to use something like reverse.  But then it will
always be used, thus it probably doesn't look that nice.

-- 
The users that I support would double-click on a landmine to find out
what happens.                           -- A system administrator

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