1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:30:04 +08:00

Fix neovim-qt default (#2348)

disbale guitabline and guipopupmenu by default.
This commit is contained in:
Wang Shidong 2018-12-15 21:54:08 +08:00 committed by GitHub
parent 171a7e545e
commit 18535e5b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,13 +12,17 @@ if exists('g:GuiLoaded')
else else
exe 'Guifont! ' . g:spacevim_guifont exe 'Guifont! ' . g:spacevim_guifont
endif endif
elseif
" As using neovim-qt by default " As using neovim-qt by default
" Disable gui popupmenu " Disable gui popupmenu
if exists(':GuiPopupmenu') == 2 if exists(':GuiPopupmenu') == 2
GuiPopupmenu 0 GuiPopupmenu 0
endif endif
" Disbale gui tabline
if exists(':GuiTabline') == 2
GuiTabline 0
endif
if g:spacevim_colorscheme !=# '' "{{{ if g:spacevim_colorscheme !=# '' "{{{
try try
exec 'set background=' . g:spacevim_colorscheme_bg exec 'set background=' . g:spacevim_colorscheme_bg