1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +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 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 VimFiler
wincmd p
elseif exists(':NERDTreeToggle') == 2
NERDTreeToggle
wincmd p
endif endif
wincmd p endif
if exists(':Startify') == 2
Startify Startify
endif endif
endfunction endfunction