Fix automatic status reload when at fugitive:// URL

This commit is contained in:
Tim Pope
2022-07-08 00:45:44 -04:00
parent f809dde0e7
commit b8c5128f89

View File

@@ -4343,7 +4343,7 @@ augroup fugitive_status
\ if get(g:, 'fugitive_focus_gained', !has('win32')) | \ if get(g:, 'fugitive_focus_gained', !has('win32')) |
\ call fugitive#DidChange(0) | \ call fugitive#DidChange(0) |
\ endif \ endif
autocmd BufEnter index,index.lock autocmd BufEnter index,index.lock,fugitive://*//
\ call s:ReloadWinStatus() \ call s:ReloadWinStatus()
autocmd TabEnter * autocmd TabEnter *
\ if exists('t:fugitive_reload_status') | \ if exists('t:fugitive_reload_status') |