Fire ShellCmdPost after :Gpush

References https://github.com/vim-airline/vim-airline/issues/1970
This commit is contained in:
Tim Pope
2019-09-16 16:32:01 -04:00
parent 2cf584f97d
commit dc413818a6

View File

@@ -4242,7 +4242,7 @@ function! s:Dispatch(bang, cmd, args) abort
endif
silent noautocmd make!
redraw!
return 'call fugitive#Cwindow()|call fugitive#ReloadStatus()'
return 'call fugitive#Cwindow()|silent doautocmd ShellCmdPost'
endif
finally
let [&l:mp, &l:efm, b:current_compiler] = [mp, efm, cc]