vimrc: let colorscheme be dependent on an environment variable

This commit is contained in:
Tobias Schmidl 2022-10-08 13:22:18 +02:00
parent 92c9b6fba4
commit 41cb23b5da

3
.vimrc
View file

@ -50,6 +50,9 @@ augroup XML
autocmd FileType xml :%foldopen! autocmd FileType xml :%foldopen!
augroup END augroup END
if "$VIM_COLORSCHEME" == "light"
set background=light
endif
colorscheme solarized colorscheme solarized
call togglebg#map("<Leader>b") call togglebg#map("<Leader>b")
let load_doxygen_syntax = 1 let load_doxygen_syntax = 1