While using wombat256mod I found out that it somehow sets &background to 'light' but the only line containing reference to 'background' is `set background=dark'. Wombat256mod colorscheme is a colorscheme with dark backround and wrong value of &bg confused my format.vim plugin. After some experiments I found that source of the problem is the line
hi Normal ctermfg=252 ctermbg=234
cterm=none
guifg=#e3e0d7 guibg=#242424 gui=none
ctermbg=234 is a dark grey color a bit lighter then ctermbg=Black, so setting
background to light is wrong. Also note that such behavior is referenced neither
in `:h :hi-normal' nor in `:h 'bg''. What for vim is altering 'bg' option if it
is already set in colorscheme? I guess it should not be done at all.
This behavior is reproducible with
vim -u NONE -c 'set bg?' -c 'hi Normal ctermbg=234' -c 'set bg?'
.
signature.asc
Description: This is a digitally signed message part.
