mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
vim: add support for THEME_PREFER_LIGHT env variable
This commit is contained in:
parent
20baed04d9
commit
de05c9c8f7
|
@ -15,7 +15,11 @@ else
|
||||||
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
|
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
|
||||||
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
|
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
|
||||||
endif
|
endif
|
||||||
|
if !empty($THEME_PREFER_LIGHT)
|
||||||
|
set background=light
|
||||||
|
else
|
||||||
set background=dark
|
set background=dark
|
||||||
|
endif
|
||||||
let g:gruvbox_contrast_dark='hard'
|
let g:gruvbox_contrast_dark='hard'
|
||||||
let g:gruvbox_sign_column='bg0'
|
let g:gruvbox_sign_column='bg0'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user