Add nested to reload status autocommands
References https://github.com/tpope/vim-fugitive/pull/889
This commit is contained in:
parent
442d56e23c
commit
e69a3ea21a
@ -2438,8 +2438,8 @@ endfunction
|
|||||||
augroup fugitive_status
|
augroup fugitive_status
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufWritePost * call fugitive#ReloadStatus(-1, 0)
|
autocmd BufWritePost * call fugitive#ReloadStatus(-1, 0)
|
||||||
autocmd ShellCmdPost * call fugitive#ReloadStatus()
|
autocmd ShellCmdPost * nested call fugitive#ReloadStatus()
|
||||||
autocmd BufDelete term://* call fugitive#ReloadStatus()
|
autocmd BufDelete term://* nested call fugitive#ReloadStatus()
|
||||||
if !has('win32')
|
if !has('win32')
|
||||||
autocmd FocusGained * call fugitive#ReloadStatus(-2, 0)
|
autocmd FocusGained * call fugitive#ReloadStatus(-2, 0)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user