On 14/02/09 09:52, Matt Wozniski wrote:
> On Sat, Feb 14, 2009 at 3:37 AM, Tony Mechelynck wrote:
>> $VIMRUNTIME/syntax/syncolor.vim defines the Ignore group as follows:
>>
>> - If 'bacground' is set to "dark"
>>         term=NONE cterm=NONE ctermfg=black ctermbg=NONE gui=NONE guifg=bg
>> guibg=NONE
>>
>> - otherwise
>>         term=NONE cterm=NONE ctermfg=white ctermbg=NONE gui=NONE guifg=bg
>> guibg=NONE
>>
>> The result, in konsole where "ctermfg=bg" gives "E420: BG color
>> unknown", is that bg and fg get set to the same colour (which, in my
>> case, is a kind of pale yellow).
>
> Hm.  Since it's "pale", I assume "background" is set to "light" - in
> which case, the foreground should be white, and the background should
> be whatever the default background for your terminal window is -
> yellow-ish, I assume?
>
> ~Matt

":hi Ignore" _says_ cterm colors are set to cterm=bold ctermfg=7 but 
_actually_ it is not white foreground but pale yellow, just like the 
background. I guess that's the solution for setting invisible highlights 
in cterm -- I've altered my colorscheme to

        :exe "hi Ignore term=NONE guibg=white guifg=#999999 ctermfg="
          \ . (&bg == "dark" ? "black" : "white")

and it works, even in terminals with a "light but non-white" background.


Best regards,
Tony.
-- 
Johnson's First Law:
        When any mechanical contrivance fails, it will do so at the
most inconvenient possible time.

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

Reply via email to