mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 04:53:45 -05:00
Finish pending commit even if exiting Vim
This commit is contained in:
@@ -728,7 +728,7 @@ endfunction
|
|||||||
|
|
||||||
augroup fugitive_commit
|
augroup fugitive_commit
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufDelete *.git/COMMIT_EDITMSG execute s:sub(s:FinishCommit(), '^echoerr (.*)', 'echohl ErrorMsg|echo \1|echohl NONE')
|
autocmd VimLeavePre,BufDelete *.git/COMMIT_EDITMSG execute s:sub(s:FinishCommit(), '^echoerr (.*)', 'echohl ErrorMsg|echo \1|echohl NONE')
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
|||||||
Reference in New Issue
Block a user