Use solarized colorsheme in vim if LC_LIGHT_BG is set

This commit is contained in:
2015-10-12 14:04:20 -04:00
parent b748f64948
commit b33afb7a35

6
.vimrc
View File

@@ -48,3 +48,9 @@ let g:easytags_dynamic_files = 1
" merlin
let g:opamshare = substitute(system('opam config var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"
" set light mode?
if !empty($LC_LIGHT_BG)
colorscheme solarized
set background=light
endif