diff --git a/plugin/startify.vim b/plugin/startify.vim index b18fe7d..c845994 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -11,9 +11,7 @@ let g:loaded_startify = 1 let g:startify_locked = 0 augroup startify - if !get(g:, 'startify_disable_at_vimenter') - autocmd VimEnter * nested call s:genesis() - endif + autocmd VimEnter * nested call s:genesis() if get(g:, 'startify_session_persistence') autocmd VimLeave * call s:extinction() @@ -38,7 +36,7 @@ function! s:genesis() if !argc() && (line2byte('$') == -1) if get(g:, 'startify_session_autoload') && filereadable('Session.vim') source Session.vim - else + elseif !get(g:, 'startify_disable_at_vimenter') call startify#insane_in_the_membrane() endif endif