motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 5a1c8bbe4669759c5f61d46e6631380af1237b4a (tree)
parent bb466308282c3d3ef9007ecceb45db931f606ae7
Author: Tim Pope <code@tpope.net>
Date:   Wed,  9 Jan 2019 14:00:06 -0500

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

Diffstat:
Mautoload/fugitive.vim | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -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