Georg Dahn wrote:

> I think, the following behavior is a bug:
> 
> The highlight 'Title' is not reset by doing 'set bg=dark' which should 
> set the highlights to the defaults of the black background or reload the 
> color scheme. It should be reset to #ffa0a0 as far as I can remember 
> (the same as 'Constant'):
> 
> 1. start gVim: gvim -u NONE
> 2. syntax on
> 3. hi Title guifg=Black
> 4. set bg=dark
> 5. hi Normal guibg=Black guifg=White
> 
> The Title is black on black now.
> 
> The same goes for the reverse direction.

If you didn't want a black foreground colr, then why did you specify a
black foreground color?

If you want to reset the colors you need to use ":hi clear".

It's not totally logical, but that's how it works.

-- 
hundred-and-one symptoms of being an internet addict:
97. Your mother tells you to remember something, and you look for
    a File/Save command.

 /// 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://www.ICCF.nl         ///

Reply via email to