When I do
:colorscheme vilight
it loads the color scheme fine.
So I added
colorscheme vilight
to my .vimrc but its not loading it on start. Am I missing something?
Also in my config
set background=dark
syntax on
colorscheme vilight
set lines=60 columns=200
For Macvim, the solution would be add the following into your .vimrc:
Then it will respect your choice in .vimrc.
If you are using MacVim I had problems loading downloaded color schemes too. I found out that if you move the color schemes to:
/Applications/MacVim.app/Contents/Resources/vim/runtime/colors
Then it would work in your .gvimrc
Are you using gvim? It is possible that your .gvimrc or the system's gvimrc file is overriding the colorscheme selection from your .vimrc.
Had the same problem. Commenting out
set background=light
in file.gvim
fixed the issue for me.