1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00
SpaceVim/ginit.vim
Wang Shidong e55d6cf270
Improve core config (#1455)
* Improve core config

* Fixup

* Update mode

* Remove plugin groups

* Enable denite layer if has +py3

* Update dev scripts

* Add project patten pom.xml for java layer

* Add tools layer
2018-03-03 21:52:08 +08:00

29 lines
899 B
VimL

"=============================================================================
" 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 SpaceVim#layers#isLoaded('colorscheme') && 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: