mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 20:30:05 +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 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user