rakr / vim-one

Adaptation of one-light and one-dark colorschemes for Vim
MIT License
1.98k stars 196 forks source link

Theme Uses Grey Instead of White in Mac #97

Open husainaloos opened 5 years ago

husainaloos commented 5 years ago

I am a mac user and use the default mac terminal. When I installed the theme, and when using the light theme, the background becomes grey instead of white.

image

Some info that might help finding out the root cause:

  1. I use nvim
  2. I use mac terminal (the default one)
  3. echo $TERM returns xterm-256color
  4. I tested my vimrc file without anything but vim-one and I am still getting grey background. So it is not related to any other configuration.
  5. I am simply using colorscheme one and set background=light
  6. I ran :highlight Normal ctermfg=white ctermbg=white and suprisingly it used grey instead of white background (which probably indicates the problem is nothing to do with the theme?)
  7. If I use vim without theme, the background is white.

Any help is appreciated.

rakr commented 4 years ago

The default background in light mode is a light grey #fafafa. I think you ran into a limitation of Vim where it is not possible to change the color of Normal background.