1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:50:04 +08:00

Move set bg before colorscheme

ref : https://github.com/SpaceVim/SpaceVim/issues/507
This commit is contained in:
wsdjeg 2017-05-22 20:16:20 +08:00
parent 22e5aef10f
commit a0a6365879

View File

@ -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