commit fe467f78bca145a07c41c1204ef9ffe701b186e0 (tree)
parent 07845537d797b6715ec5ae61a6af4999ccafaac3
Author: Tim Pope <code@tpope.net>
Date: Fri, 11 Jan 2019 14:11:25 -0500
Allow ShellCmdPost to fire inside :Make
This was trying to block `au QuickFixCmdPost * copen` as it interfered
with restoring the working directory, but that was mainly a concern for
the other half of the conditional, so restore it to enable the status
buffer to reload.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -3178,7 +3178,7 @@ function! s:Dispatch(bang, args)
let &l:errorformat = s:common_efm
let &l:makeprg = substitute(s:UserCommand() . ' ' . a:args, '\s\+$', '', '')
if exists(':Make') == 2
- noautocmd Make
+ Make
else
silent noautocmd make!
redraw!