mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 04:53:45 -05:00
Reload status after Vim :terminal command
Closes https://github.com/tpope/vim-fugitive/issues/1323
This commit is contained in:
@@ -2410,7 +2410,10 @@ augroup fugitive_status
|
||||
autocmd!
|
||||
autocmd BufWritePost * call fugitive#ReloadStatus(-1, 0)
|
||||
autocmd ShellCmdPost * nested call fugitive#ReloadStatus()
|
||||
autocmd BufDelete term://* nested call fugitive#ReloadStatus()
|
||||
autocmd BufDelete * nested
|
||||
\ if getbufvar(+expand('<abuf>'), 'buftype') == 'terminal' |
|
||||
\ call fugitive#ReloadStatus() |
|
||||
\ endif
|
||||
if !has('win32')
|
||||
autocmd FocusGained * call fugitive#ReloadStatus(-2, 0)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user