mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:10:06 +08:00
Fix ginit (#3495)
This commit is contained in:
parent
d4dc1335d1
commit
b1b5146515
16
ginit.vim
16
ginit.vim
@ -7,10 +7,10 @@
|
||||
"=============================================================================
|
||||
|
||||
if exists('g:GuiLoaded')
|
||||
if empty(g:spacevim_guifont)
|
||||
exe 'Guifont! SauceCodePro Nerd Font Mono:h11:cANSI:qDRAFT'
|
||||
else
|
||||
if exists('g:spacevim_guifont') && !empty(g:spacevim_guifont)
|
||||
exe 'Guifont! ' . g:spacevim_guifont
|
||||
else
|
||||
exe 'Guifont! SauceCodePro Nerd Font Mono:h11:cANSI:qDRAFT'
|
||||
endif
|
||||
" As using neovim-qt by default
|
||||
|
||||
@ -23,16 +23,6 @@ if exists('g:GuiLoaded')
|
||||
if exists(':GuiTabline') == 2
|
||||
GuiTabline 0
|
||||
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
|
||||
|
||||
" vim:set et sw=2:
|
||||
|
Loading…
Reference in New Issue
Block a user