Explorar o código

Bookmarks: consider delete_buffers option on session autoload

References https://github.com/mhinz/vim-startify/issues/231
Marco Hinz %!s(int64=9) %!d(string=hai) anos
pai
achega
f41732a392
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      autoload/startify.vim

+ 1 - 0
autoload/startify.vim

@@ -777,6 +777,7 @@ function! s:check_user_options(path) abort
 
   if get(g:, 'startify_session_autoload') && filereadable(session)
     execute 'silent bwipeout' a:path
+    call startify#session_delete_buffers()
     execute 'source' session
   elseif get(g:, 'startify_change_to_vcs_root')
     call s:cd_to_vcs_root(a:path)