mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 04:34:39 +08:00
Finish pending commit even if exiting Vim
This commit is contained in:
1 parent
b812cb3bcd
commit
6b55a997a9
1 file changed
+1
-1
+1
-1
@@ -728,7 +728,7 @@ endfunction
|
||||
|
||||
augroup fugitive_commit
|
||||
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
|
||||
|
||||
" }}}1
|
||||
|
||||
Reference in new issue
Block a user