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