mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
Fix welcome
This commit is contained in:
parent
9f36b3ef0f
commit
b122ddcf32
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user