Fix light/dark command for VIM with Papercolor

This commit is contained in:
Talia 2018-11-01 19:12:34 +01:00
parent 527ccaaf6c
commit 90f0ac86bb

4
gvimrc
View file

@ -11,17 +11,17 @@ com! Dark silent! let g:colors_name_bak = g:colors_name
\ | let g:arcadia_Daybreak=0 \ | let g:arcadia_Daybreak=0
\ | let g:arcadia_Midnight=1 \ | let g:arcadia_Midnight=1
\ | let g:alduin_Shout_Become_Ethereal=1 \ | let g:alduin_Shout_Become_Ethereal=1
\ | set bg=dark
\ | silent! exec "colorscheme ".g:colors_name_bak \ | silent! exec "colorscheme ".g:colors_name_bak
\ | silent! delc PaperColor \ | silent! delc PaperColor
\ | set bg=dark
com! Light silent! let g:colors_name_bak = g:colors_name com! Light silent! let g:colors_name_bak = g:colors_name
\ | let ayucolor="light" \ | let ayucolor="light"
\ | let g:arcadia_Daybreak=1 \ | let g:arcadia_Daybreak=1
\ | let g:arcadia_Midnight=0 \ | let g:arcadia_Midnight=0
\ | let g:alduin_Shout_Become_Ethereal=0 \ | let g:alduin_Shout_Become_Ethereal=0
\ | set bg=light
\ | silent! exec "colorscheme ".g:colors_name_bak \ | silent! exec "colorscheme ".g:colors_name_bak
\ | silent! delc PaperColor \ | silent! delc PaperColor
\ | set bg=light
com! Ayu colorscheme ayu com! Ayu colorscheme ayu
com! Arcadia colorscheme arcadia com! Arcadia colorscheme arcadia