mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -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!
|
||||||
autocmd ShellCmdPost * call s:AutoReloadStatus()
|
autocmd ShellCmdPost * call s:AutoReloadStatus()
|
||||||
autocmd QuickFixCmdPost c*file call s:AutoReloadStatus()
|
autocmd QuickFixCmdPost c*file call s:AutoReloadStatus()
|
||||||
autocmd FocusGained * call s:AutoReloadStatus()
|
|
||||||
autocmd BufDelete term://* call s:AutoReloadStatus()
|
autocmd BufDelete term://* call s:AutoReloadStatus()
|
||||||
|
if !has('win32')
|
||||||
|
autocmd FocusGained * call s:AutoReloadStatus()
|
||||||
|
endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
function! s:StageInfo(...) abort
|
function! s:StageInfo(...) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user