From 5a1c8bbe4669759c5f61d46e6631380af1237b4a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 9 Jan 2019 14:00:06 -0500 Subject: [PATCH] Reload status on all quickfix commands I thought that I had confirmed :make triggered ShellCmdPost but apparently not. Closes https://github.com/tpope/vim-fugitive/issues/1166 --- autoload/fugitive.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 1a14c2b..c03934f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1882,9 +1882,10 @@ call s:command("-bar -bang -range=-1 G :execute s:Status(0, , augroup fugitive_status autocmd! if !has('win32') - autocmd FocusGained,ShellCmdPost * call fugitive#ReloadStatus() - autocmd QuickFixCmdPost c*file call fugitive#ReloadStatus() - autocmd BufDelete term://* call fugitive#ReloadStatus() + autocmd ShellCmdPost * call fugitive#ReloadStatus() + autocmd QuickFixCmdPost * call fugitive#ReloadStatus() + autocmd FocusGained * call fugitive#ReloadStatus() + autocmd BufDelete term://* call fugitive#ReloadStatus() endif augroup END