2018-02-19 22:07:04 +08:00
|
|
|
"=============================================================================
|
|
|
|
" ginit.vim --- Entry file for neovim-qt
|
2019-06-09 14:11:17 +08:00
|
|
|
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
2018-02-19 22:07:04 +08:00
|
|
|
" 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-12-15 21:38:51 +08:00
|
|
|
" As using neovim-qt by default
|
|
|
|
|
|
|
|
" Disable gui popupmenu
|
|
|
|
if exists(':GuiPopupmenu') == 2
|
|
|
|
GuiPopupmenu 0
|
|
|
|
endif
|
2018-12-15 21:54:08 +08:00
|
|
|
|
|
|
|
" Disbale gui tabline
|
|
|
|
if exists(':GuiTabline') == 2
|
|
|
|
GuiTabline 0
|
|
|
|
endif
|
2018-03-18 16:31:34 +08:00
|
|
|
if g:spacevim_colorscheme !=# '' "{{{
|
2017-06-25 13:33:22 +08:00
|
|
|
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:
|
|
|
|
|