mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
Move set bg before colorscheme
ref : https://github.com/SpaceVim/SpaceVim/issues/507
This commit is contained in:
parent
22e5aef10f
commit
a0a6365879
@ -6,8 +6,8 @@ if has('filterpipe')
|
|||||||
endif
|
endif
|
||||||
if count(g:spacevim_plugin_groups, 'colorscheme') && g:spacevim_colorscheme !=# '' "{{{
|
if count(g:spacevim_plugin_groups, 'colorscheme') && g:spacevim_colorscheme !=# '' "{{{
|
||||||
try
|
try
|
||||||
exec 'colorscheme ' . g:spacevim_colorscheme
|
|
||||||
exec 'set background=' . g:spacevim_colorscheme_bg
|
exec 'set background=' . g:spacevim_colorscheme_bg
|
||||||
|
exec 'colorscheme ' . g:spacevim_colorscheme
|
||||||
catch
|
catch
|
||||||
exec 'colorscheme '. g:spacevim_colorscheme_default
|
exec 'colorscheme '. g:spacevim_colorscheme_default
|
||||||
endtry
|
endtry
|
||||||
|
Loading…
Reference in New Issue
Block a user