|
|
@@ -13,17 +13,17 @@ let g:loaded_startify = 1
|
|
|
augroup startify
|
|
|
if !get(g:, 'startify_disable_at_vimenter')
|
|
|
autocmd VimEnter *
|
|
|
- \ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gmnq]\=vim\=x\=\%[\.exe]$') |
|
|
|
- \ call startify#insane_in_the_membrane(0) |
|
|
|
- \ endif |
|
|
|
- \ autocmd! startify VimEnter
|
|
|
+ \ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gmnq]\=vim\=x\=\%[\.exe]$')
|
|
|
+ \ | call startify#insane_in_the_membrane(0)
|
|
|
+ \ | endif
|
|
|
+ \ | autocmd! startify VimEnter
|
|
|
endif
|
|
|
|
|
|
if get(g:, 'startify_session_persistence')
|
|
|
autocmd startify VimLeave *
|
|
|
- \ if exists('v:this_session') && filewritable(v:this_session) |
|
|
|
- \ call startify#session_write(fnameescape(v:this_session)) |
|
|
|
- \ endif
|
|
|
+ \ if exists('v:this_session') && filewritable(v:this_session)
|
|
|
+ \ | call startify#session_write(fnameescape(v:this_session))
|
|
|
+ \ | endif
|
|
|
endif
|
|
|
augroup END
|
|
|
|