From d9dd9c8b747a7f9a3373e57638876de2b42a0c32 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Tue, 8 Sep 2020 09:43:53 +0100 Subject: [PATCH] Fix missing variable prefix --- plugin/gitgutter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index bf4f6fe..f0cffdf 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -272,7 +272,7 @@ augroup gitgutter " FocusGained gets triggered on startup with Neovim at least already. " Therefore this tracks also if it was lost before. let s:focus_was_lost = 0 - autocmd FocusGained * if s:focus_was_lost | let focus_was_lost = 0 | call gitgutter#all(1) | endif + autocmd FocusGained * if s:focus_was_lost | let s:focus_was_lost = 0 | call gitgutter#all(1) | endif autocmd FocusLost * let s:focus_was_lost = 1 if exists('##VimResume')