correct startup check to consider '.exe'

This commit is contained in:
Alex Kunin 2013-04-28 12:26:57 +03:00 committed by Marco Hinz
parent b6c528b6aa
commit 73494fb035

View file

@ -15,7 +15,7 @@ let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir',
augroup startify
autocmd!
autocmd VimEnter *
\ if !argc() && (line2byte('$') == -1) && (v:progname == 'vim' || v:progname == 'gvim') |
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^vim' || v:progname =~? '^gvim') |
\ call s:insane_in_the_membrane() |
\ endif
augroup END