mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -05:00
Trigger refresh on VimResume event
VimResume is neovim event that is triggered when process is resumed to foreground.
This commit is contained in:
@@ -203,6 +203,10 @@ augroup gitgutter
|
|||||||
|
|
||||||
autocmd FocusGained,ShellCmdPost * call gitgutter#all(1)
|
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()
|
autocmd ColorScheme * call gitgutter#highlight#define_sign_column_highlight() | call gitgutter#highlight#define_highlights()
|
||||||
|
|
||||||
" Disable during :vimgrep
|
" Disable during :vimgrep
|
||||||
|
|||||||
Reference in New Issue
Block a user