1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/ginit.vim
2017-06-25 13:33:22 +08:00

21 lines
562 B
VimL

if exists('g:GuiLoaded')
if empty(g:spacevim_guifont)
exe 'Guifont! DejaVu Sans Mono for Powerline:h11:cANSI:qDRAFT'
else
exe 'Guifont! ' . g:spacevim_guifont
endif
if count(g:spacevim_plugin_groups, 'colorscheme') && g:spacevim_colorscheme !=# '' "{{{
try
exec 'set background=' . g:spacevim_colorscheme_bg
exec 'colorscheme ' . g:spacevim_colorscheme
catch
exec 'colorscheme '. g:spacevim_colorscheme_default
endtry
else
exec 'colorscheme '. g:spacevim_colorscheme_default
endif
endif
" vim:set et sw=2: