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
This commit is contained in:
Tim Pope 2019-01-09 14:00:06 -05:00
parent bb46630828
commit 5a1c8bbe46

View File

@ -1882,9 +1882,10 @@ call s:command("-bar -bang -range=-1 G :execute s:Status(<bang>0, <count>,
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