From 8d7a71ddd64ca2aca0e06fe6182e88197232defd Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Tue, 8 Jan 2019 16:22:36 +0000 Subject: [PATCH] Update signs when leaving Neovim terminal. Closes #570. --- plugin/gitgutter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index 26cc0a5..6567474 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -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)