Fix vim colorscheme shenanigans

This commit is contained in:
Talia 2018-10-30 16:21:00 +01:00
parent a51b6d43dc
commit 527ccaaf6c

6
gvimrc
View file

@ -7,19 +7,19 @@ set cursorline " Highlight cursor line
let g:only_generic_hl=1 let g:only_generic_hl=1
com! Dark silent! let g:colors_name_bak = g:colors_name com! Dark silent! let g:colors_name_bak = g:colors_name
\ | set bg=dark
\ | let ayucolor="dark" \ | let ayucolor="dark"
\ | 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
com! Light silent! let g:colors_name_bak = g:colors_name com! Light silent! let g:colors_name_bak = g:colors_name
\ | set bg=light
\ | 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
@ -29,7 +29,7 @@ com! Alduin colorscheme alduin
com! Moria colorscheme moria com! Moria colorscheme moria
com! Molokai colorscheme molokai com! Molokai colorscheme molokai
com! Iceberg colorscheme iceberg com! Iceberg colorscheme iceberg
com! Papercolor colorscheme papercolor | delc PaperColor com! Papercolor colorscheme PaperColor | delc PaperColor
com! Firewatch colorscheme two-firewatch com! Firewatch colorscheme two-firewatch
if !exists('g:colors_name') if !exists('g:colors_name')