mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Restore laziness of status reload after write
This got lost in a refactor.
This commit is contained in:
@@ -4192,7 +4192,7 @@ endfunction
|
|||||||
|
|
||||||
augroup fugitive_status
|
augroup fugitive_status
|
||||||
autocmd!
|
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 ShellCmdPost,ShellFilterPost * nested call fugitive#DidChange(0)
|
||||||
autocmd BufDelete * nested
|
autocmd BufDelete * nested
|
||||||
\ if getbufvar(+expand('<abuf>'), 'buftype') ==# 'terminal' |
|
\ if getbufvar(+expand('<abuf>'), 'buftype') ==# 'terminal' |
|
||||||
|
|||||||
Reference in New Issue
Block a user