Bug#379839: vim: Bogus color schema
Jens Seidel
jensseidel at users.sf.net
Mon Dec 4 22:35:47 UTC 2006
On Mon, Dec 04, 2006 at 09:03:24AM -0500, James Vega wrote:
> On Mon, Dec 04, 2006 at 01:40:59PM +0100, Jens Seidel wrote:
> > On Tue, Jul 25, 2006 at 09:50:24PM +0200, Jens Seidel wrote:
> > > Hi, I noticed that the default color schema of vimdiff is wrong, since
> > > added lines in one of the files are not visible because foreground and
> > > background color are identical.
>
> This depends on the colorscheme. The default colorscheme does make
> Comment that are part of a DiffAdd hard to read. Although, in my case
> it was because the 'background' option was set to 'light' when I had a
> dark background on my terminal. Setting 'background' to 'dark' fixed
> the problem.
Indeed, using :set background=dark (in a bright *and* dark terminal)
improves the situation. Please note that I tried all colorschemes also
in an inversed terminal (but without background=dark).
The contrast is nevertheless bad. Bright blue on blue or pink on red are
not optimal. The older settings where better.
The contrast can be calculated as described in
http://www.w3.org/TR/AERT#color-contrast (the RGB color space in not
optimal).
Jens
More information about the pkg-vim-maintainers
mailing list