1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 23:00:04 +08:00
This commit is contained in:
Wang Shidong 2020-05-09 22:21:33 +08:00 committed by GitHub
parent d4dc1335d1
commit b1b5146515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,10 @@
"============================================================================= "=============================================================================
if exists('g:GuiLoaded') if exists('g:GuiLoaded')
if empty(g:spacevim_guifont) if exists('g:spacevim_guifont') && !empty(g:spacevim_guifont)
exe 'Guifont! SauceCodePro Nerd Font Mono:h11:cANSI:qDRAFT'
else
exe 'Guifont! ' . g:spacevim_guifont exe 'Guifont! ' . g:spacevim_guifont
else
exe 'Guifont! SauceCodePro Nerd Font Mono:h11:cANSI:qDRAFT'
endif endif
" As using neovim-qt by default " As using neovim-qt by default
@ -23,16 +23,6 @@ if exists('g:GuiLoaded')
if exists(':GuiTabline') == 2 if exists(':GuiTabline') == 2
GuiTabline 0 GuiTabline 0
endif endif
if 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 endif
" vim:set et sw=2: " vim:set et sw=2: