From 194d63da4f7111c156109375e8ca153f19b245cb Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 29 Sep 2021 21:21:28 -0400 Subject: [PATCH] Restore laziness of status reload after write This got lost in a refactor. --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index b1db038..ba31beb 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4192,7 +4192,7 @@ endfunction augroup fugitive_status autocmd! - autocmd BufWritePost * call fugitive#DidChange(+expand('')) + autocmd BufWritePost * call fugitive#DidChange(+expand(''), 0) autocmd ShellCmdPost,ShellFilterPost * nested call fugitive#DidChange(0) autocmd BufDelete * nested \ if getbufvar(+expand(''), 'buftype') ==# 'terminal' |