mhinz / vim-startify

:link: The fancy start screen for Vim.
MIT License
5.3k stars 186 forks source link

Startify runs if argc() > 0 #492

Open ScrumpyJack opened 3 years ago

ScrumpyJack commented 3 years ago

In my vimrc with the latest Startify repo pulled by plug, I have

autocmd VimEnter * if !argc() | Startify | endif

If I run vim -c "GV" or vim +Gitv I see the plugin loading for a split second then Startify kicks in.

There are no issues when I simply pass a file to vim

I have no other autocmd VimEnter lines in my vimrc and Nerdtree is installed but not configured to load with autocmd.

If i try

vim --cmd 'let g:startify_disable_at_vimenter = 1' +GV

I get the same result as above

Have I missed something?