On 10-Sep-07 12:02, Bram Moolenaar wrote:
> Nico Weber wrote:
> 
>> `set cursorline` seems to override the background colors even for 
>> characters that are in group Error. With the default color scheme, this 
>> makes Errors unreadable: They are displayed with red background and white 
>> text, and the default cursorline color is a light grey. If the cursor is in
>>  the same line as the error, Errors are displayed with a light grey 
>> background and white text -- barely readable (tested on gvim/ubuntu and 
>> carbon vim/osx).
>> 
>> Any ideas what could be done about this?
> 
> Not much.  Having the syntax background color overrule the 'cursorline' 
> background color will result in the cursorline to be broken in pieces or 
> hardly viewable.  E.g., when you have a background color for strings and a 
> line is mostly filled with a string.  This looks weird if you move the cursor
>  up/down.
> 
> Ideally the colors would be mixed, but that's quite difficult (and impossible
>  in a terminal).
> 

> E.g., when you have a background color for strings and a line is mostly 
> filled with a string.
Okay, but how often (and with how many colorschemes) does this actually occur? I
personally would rather encounter an occasional "weird line" (a mere nuisance,
but still fully readable) than barely readable text (as reported with the Error
group in the default color scheme).
In fact, I have already modified my personal colorscheme (with mixed results)
because I encountered bad readability with the highlighting + cursorline
combination (but didn't want to miss the improved readability of cursorline).

-- ingo

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui