On 2014-12-08 Monday at 20:07 -0800 mattn wrote:
> On Friday, December 5, 2014 10:37:34 PM UTC+9, Roland Eggner wrote:
> > Priorities, when “Search”, “CursorLine” and “cterm(fg|bg)” overlap:
> > 
> >                │ previously │ with your patch │ IMO even better would be
> > ───────────────┼────────────┼─────────────────┼─────────────────────────
> > “Search”       │  1         │  2              │  1
> > “CursorLine”   │  -         │  1              │  2
> > “cterm(fg|bg)” │  -         │  3              │  3
> > 
> > Would you like “Search” having higher priority than “CursorLine”?
> 
> My patch is already your's better.
> 
> http://go-gyazo.appspot.com/609a652dc6026cd5.png
> 
> :set cursorline hlsearch
> /Enter

Yes, with gvim and your hl-configuration looks as desired.
In the meantime I looked at hl_combine_attr() and noted, it performs a kind of 
merge rather than just applying priorities.  Thus my table quoted above is not 
really appropriate.

I am using vim in terminals with 8 and 256 colors.  For best result with your 
patch applied my colorscheme needs a bit tweaking, so no problem.
Thank you for your contribution.

-- 
Roland Eggner

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: pgpB0NjAEjazp.pgp
Description: PGP signature

Raspunde prin e-mail lui