Update signs when leaving Neovim terminal.

Closes #570.
This commit is contained in:
Andy Stewart
2019-01-08 16:22:36 +00:00
parent 2dce8e032b
commit 8d7a71ddd6

View File

@@ -207,6 +207,7 @@ augroup gitgutter
autocmd VimEnter * if winnr() != winnr('$') | call gitgutter#all(0) | endif
autocmd FocusGained,ShellCmdPost * call gitgutter#all(1)
autocmd WinLeave * if bufname('') =~ '^term://' | call gitgutter#all(1) | endif
if exists('##VimResume')
autocmd VimResume * call gitgutter#all(1)