correct startup check to consider '.exe'
This commit is contained in:
parent
b6c528b6aa
commit
73494fb035
|
@ -15,7 +15,7 @@ let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir',
|
||||||
augroup startify
|
augroup startify
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd VimEnter *
|
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() |
|
\ call s:insane_in_the_membrane() |
|
||||||
\ endif
|
\ endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
Loading…
Reference in a new issue