1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:10:06 +08:00
SpaceVim/ginit.vim

29 lines
853 B
VimL
Raw Normal View History

"=============================================================================
" ginit.vim --- Entry file for neovim-qt
" Copyright (c) 2016-2017 Wang Shidong & Contributors
" Author: Wang Shidong < wsdjeg at 163.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
2017-03-06 23:26:26 +08:00
if exists('g:GuiLoaded')
2017-04-06 20:44:14 +08:00
if empty(g:spacevim_guifont)
2018-12-15 20:33:43 +08:00
exe 'Guifont! SauceCodePro Nerd Font Mono:h11:cANSI:qDRAFT'
2017-04-06 20:44:14 +08:00
else
exe 'Guifont! ' . g:spacevim_guifont
endif
2018-03-18 16:31:34 +08:00
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
2016-12-26 21:11:19 +08:00
endif
2017-03-06 23:26:26 +08:00
" vim:set et sw=2: