Enable update on FocusGained for gVim.

This was prevented to avoid an infinite loop on gVim (see #42).
However that was 5 years ago and this no longer seems to be a problem
(even running synchronously).
This commit is contained in:
Andy Stewart
2018-02-28 16:56:26 +00:00
parent 293b633d79
commit 33c4c4a685

View File

@@ -224,9 +224,7 @@ augroup gitgutter
" vim -o file1 file2
autocmd VimEnter * if winnr() != winnr('$') | call gitgutter#all(0) | endif
if !has('gui_win32')
autocmd FocusGained * call gitgutter#all(1)
endif
autocmd ColorScheme * call gitgutter#highlight#define_sign_column_highlight() | call gitgutter#highlight#define_highlights()