forked from SpaceVim/SpaceVim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ginit.vim
28 lines (25 loc) · 856 Bytes
/
ginit.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"=============================================================================
" 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
"=============================================================================
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 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: