From 73494fb0350eb0b7934e5866010ab28016b5f6a9 Mon Sep 17 00:00:00 2001 From: Alex Kunin Date: Sun, 28 Apr 2013 12:26:57 +0300 Subject: [PATCH] correct startup check to consider '.exe' --- plugin/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/startify.vim b/plugin/startify.vim index 3d0c610..4771595 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -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