mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Fix automatic status reload when at fugitive:// URL
This commit is contained in:
@@ -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') |
|
||||||
|
|||||||
Reference in New Issue
Block a user