mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Use :redrawstatus rather than &ro = &ro
References: https://github.com/tpope/vim-fugitive/issues/1180
This commit is contained in:
@@ -4122,8 +4122,7 @@ function! s:DoAutocmdChanged(dir) abort
|
||||
exe s:DoAutocmd('User FugitiveChanged')
|
||||
finally
|
||||
unlet! g:fugitive_event g:fugitive_result
|
||||
" Force statusline reload with the buffer's Git dir
|
||||
let &ro = &ro
|
||||
redrawstatus
|
||||
endtry
|
||||
return ''
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user