mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -05:00
Don't repeatedly trigger FocusGained on win32
References https://github.com/tpope/vim-fugitive/issues/1209
This commit is contained in:
@@ -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