mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 06:13:51 -05:00
Continue running commands on Vim exit
Closes https://github.com/tpope/vim-fugitive/issues/1447
This commit is contained in:
@@ -2323,7 +2323,9 @@ augroup fugitive_job
|
|||||||
autocmd BufDelete * call s:RunBufDelete(expand('<abuf>'))
|
autocmd BufDelete * call s:RunBufDelete(expand('<abuf>'))
|
||||||
autocmd VimLeave *
|
autocmd VimLeave *
|
||||||
\ for s:jobbuf in keys(s:edit_jobs) |
|
\ for s:jobbuf in keys(s:edit_jobs) |
|
||||||
\ call writefile([], remove(s:edit_jobs, s:jobbuf)[0].temp . '.exit') |
|
\ call writefile([], s:edit_jobs[s:jobbuf][0].temp . '.exit') |
|
||||||
|
\ redraw! |
|
||||||
|
\ call call('s:RunWait', remove(s:edit_jobs, s:jobbuf)) |
|
||||||
\ endfor
|
\ endfor
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user