mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 22:03: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 VimLeave *
|
||||
\ 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
|
||||
augroup END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user