Bookmarks: consider delete_buffers option on session autoload
References https://github.com/mhinz/vim-startify/issues/231
This commit is contained in:
parent
41801d60cb
commit
f41732a392
|
@ -777,6 +777,7 @@ function! s:check_user_options(path) abort
|
||||||
|
|
||||||
if get(g:, 'startify_session_autoload') && filereadable(session)
|
if get(g:, 'startify_session_autoload') && filereadable(session)
|
||||||
execute 'silent bwipeout' a:path
|
execute 'silent bwipeout' a:path
|
||||||
|
call startify#session_delete_buffers()
|
||||||
execute 'source' session
|
execute 'source' session
|
||||||
elseif get(g:, 'startify_change_to_vcs_root')
|
elseif get(g:, 'startify_change_to_vcs_root')
|
||||||
call s:cd_to_vcs_root(a:path)
|
call s:cd_to_vcs_root(a:path)
|
||||||
|
|
Loading…
Reference in a new issue