mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
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:
@@ -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 FocusGained * call gitgutter#all(1)
|
||||
|
||||
autocmd ColorScheme * call gitgutter#highlight#define_sign_column_highlight() | call gitgutter#highlight#define_highlights()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user