Switch dark/light colour

Due to issue with Termonad Solarized colour scheme
This commit is contained in:
Craige McWhirter 2020-03-06 15:00:19 +10:00
parent a266a2e70c
commit a25be53a51
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -37,16 +37,17 @@ vim_configurable.customize {
autocmd FilterWritePre * :call TrimWhiteSpace()
autocmd BufWritePre * :call TrimWhiteSpace()
" FIXME: Currently always set to dark due to issues with Termonad Solarized theme
" Light during the day, dark during the night
let hour = strftime("%H")
if 7 <= hour && hour < 17
"set background=light
set background=dark
"hi Normal ctermbg=none " Set a transparent background
"let g:airline_solarized_bg='light' " Set the airline background
let g:airline_solarized_bg='dark' " Set the airline background
else
"set background=dark
set background=dark
"hi Normal ctermbg=none " Set a transparent background
"let g:airline_solarized_bg='dark' " Set the airline background
let g:airline_solarized_bg='dark' " Set the airline background
endif
" Transparent editing of gpg encrypted files.