From 785bb15745f0cf41b9163b364d2d809756adb912 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 27 Apr 2017 21:18:37 -0400 Subject: [PATCH] Highlight blame hashes if 'termguicolors' is present --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 751dc93..53c7a6e 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2200,7 +2200,7 @@ endfunction function! s:RehighlightBlame() abort for [hash, cterm] in items(s:hash_colors) - if !empty(cterm) || has('gui_running') + if !empty(cterm) || has('gui_running') || has('termguicolors') && &termguicolors exe 'hi FugitiveblameHash'.hash.' guifg=#'.hash.get(s:hash_colors, hash, '') else exe 'hi link FugitiveblameHash'.hash.' Identifier'