1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-13 14:49:11 +08:00

Fix welcome

This commit is contained in:
wsdjeg 2017-03-09 23:51:06 +08:00
parent 9f36b3ef0f
commit b122ddcf32

View File

@ -356,11 +356,16 @@ endfunction
function! SpaceVim#welcome() abort
if exists(':VimFiler') == 2 && exists(':Startify') == 2
if g:spacevim_enable_vimfiler_welcome
if g:spacevim_enable_vimfiler_welcome
if exists(':VimFiler') == 2
VimFiler
wincmd p
elseif exists(':NERDTreeToggle') == 2
NERDTreeToggle
wincmd p
endif
wincmd p
endif
if exists(':Startify') == 2
Startify
endif
endfunction