Peter Hodge <[EMAIL PROTECTED]> 写于 2006-10-19 13:44:19:
> Hello,
>
> If you change the background=light, Vim reloads the colorscheme so it has
a
> chance to give you new colors.  But if the colorscheme changes
background=dark
> again, then Vim knows that the colorscheme isn't capable of picking
colors for
> a light background.  In that case, Vim will just ignore whatever the
> colorscheme says and will use default colors instead.
>
> regards,
> peter

This is a good choice anyway, if the colorscheme can only do bg=dark and
the user want bg=light, the defaults are loaded...

However, this "feature" seems to be buggy:

When I'm using a dark-background scheme, I want a light background and type
:set bg=light. It tries to load the color scheme and found the color scheme
set bg=dark, then it ignores the color scheme then loads the default. If
all you said is true, I expect the bg=light now and the light-background
version of the default should be loaded. however the bg=dark now, and the
dark-background version of the default color scheme is loaded.

A bug ?

--
Sincerely, Pan, Shi Zhu. ext: 2606

Reply via email to