Make "-Vim" another valid v:progname

References #147.
This commit is contained in:
Marco Hinz 2015-02-03 12:47:02 +01:00
parent 66083493ed
commit d3d5ea68c4

View file

@ -13,7 +13,7 @@ let g:loaded_startify = 1
augroup startify
if !get(g:, 'startify_disable_at_vimenter')
autocmd VimEnter * nested
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gmnq]\=vim\=x\=\%[\.exe]$')
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[-gmnq]\=vim\=x\=\%[\.exe]$')
\ | if get(g:, 'startify_session_autoload') && filereadable('Session.vim')
\ | source Session.vim
\ | else