mhinz / vim-startify

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

Startify being displayed on vim start even when files are specified #466

Closed kauer3 closed 3 years ago

kauer3 commented 3 years ago

I may be wrong, but from what I understand from the documentation, startify should be displayed only when starting vim without giving any filenames. In my case, even when I do provide a file (vim filename) it is displayed. And if I got it wrong and this is the expected behavior, is there a way to change it?

mhinz commented 3 years ago

No, that should not happen.

In Vim, :echo argc() tells how many arguments were given to Vim and that's what the plugin checks. So, can you confirm the following two examples?

kauer3 commented 3 years ago

So, I was just checking the startify options in my vimrc and realized I had autocmd VimEnter * Startify, which obviously caused this problem. I found your plugin in a post or video somewhere, and this autocmd was among the recomended configs, but I sould have seen it before opening an issue.

Thanks for the great plugin!