Restore laziness of status reload after write

This got lost in a refactor.
This commit is contained in:
Tim Pope
2021-09-29 21:21:28 -04:00
parent dd39902e3d
commit 194d63da4f

View File

@@ -4192,7 +4192,7 @@ endfunction
augroup fugitive_status
autocmd!
autocmd BufWritePost * call fugitive#DidChange(+expand('<abuf>'))
autocmd BufWritePost * call fugitive#DidChange(+expand('<abuf>'), 0)
autocmd ShellCmdPost,ShellFilterPost * nested call fugitive#DidChange(0)
autocmd BufDelete * nested
\ if getbufvar(+expand('<abuf>'), 'buftype') ==# 'terminal' |