Browse Source

Do not check v:progname anymore

Originally this check was meant to prevent showing the Startify buffer for
certain cases I can't recall anymore.

Now the Startify buffer will be shown at startup if these conditions are true:

  1) no arguments were provided to Vim on the commandline
  2) the first buffer is empty
Marco Hinz 10 years ago
parent
commit
9afab110e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugin/startify.vim

+ 1 - 1
plugin/startify.vim

@@ -24,7 +24,7 @@ augroup startify
 augroup END
 
 function! s:genesis()
-  if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[-gmnq]\=vim\=x\=\%[\.exe]$')
+  if !argc() && (line2byte('$') == -1)
     if get(g:, 'startify_session_autoload') && filereadable('Session.vim')
       source Session.vim
     else