Fix typo in highlight group name

See #727.
This commit is contained in:
Andy Stewart
2020-08-05 12:19:08 +01:00
parent 642cef87f4
commit 82f3ea6a40

View File

@@ -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