Trigger refresh on VimResume event

VimResume is neovim event that is triggered when process is resumed to
foreground.
This commit is contained in:
John Nguyen
2018-08-14 22:02:33 -07:00
parent d2d2da11c5
commit 50a7062909

View File

@@ -203,6 +203,10 @@ augroup gitgutter
autocmd FocusGained,ShellCmdPost * call gitgutter#all(1)
if exists('##VimResume')
autocmd VimResume * call gitgutter#all(1)
endif
autocmd ColorScheme * call gitgutter#highlight#define_sign_column_highlight() | call gitgutter#highlight#define_highlights()
" Disable during :vimgrep