From 82f3ea6a40b4589eae769b46912e41c5aa0f43bc Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Wed, 5 Aug 2020 12:19:08 +0100 Subject: [PATCH] Fix typo in highlight group name See #727. --- autoload/gitgutter/highlight.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/gitgutter/highlight.vim b/autoload/gitgutter/highlight.vim index 2b68f9e..6823423 100644 --- a/autoload/gitgutter/highlight.vim +++ b/autoload/gitgutter/highlight.vim @@ -77,7 +77,7 @@ function! gitgutter#highlight#define_highlights() abort " When they are visible. for type in ["Add", "Change", "Delete"] - if hlexists("GitGutter".type) && s:get_foreground_colors('Diff'.type) != ['NONE', 'NONE'] + if hlexists("GitGutter".type) && s:get_foreground_colors("GitGutter".type) != ['NONE', 'NONE'] if g:gitgutter_set_sign_backgrounds execute "highlight GitGutter".type." guibg=".guibg." ctermbg=".ctermbg endif