mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-09 23:05:57 +08:00
Don't repeatedly trigger FocusGained on win32
References https://github.com/tpope/vim-fugitive/issues/1209
This commit is contained in:
1 parent
f259fd5d6d
commit
c5d8b25c5e
1 file changed
+3
-1
@@ -2052,8 +2052,10 @@ augroup fugitive_status
|
||||
autocmd!
|
||||
autocmd ShellCmdPost * call s:AutoReloadStatus()
|
||||
autocmd QuickFixCmdPost c*file call s:AutoReloadStatus()
|
||||
autocmd FocusGained * call s:AutoReloadStatus()
|
||||
autocmd BufDelete term://* call s:AutoReloadStatus()
|
||||
if !has('win32')
|
||||
autocmd FocusGained * call s:AutoReloadStatus()
|
||||
endif
|
||||
augroup END
|
||||
|
||||
function! s:StageInfo(...) abort
|
||||
|
||||
Reference in new issue
Block a user