Highlight blame hashes if 'termguicolors' is present
This commit is contained in:
parent
fbf89773b4
commit
785bb15745
@ -2200,7 +2200,7 @@ endfunction
|
|||||||
|
|
||||||
function! s:RehighlightBlame() abort
|
function! s:RehighlightBlame() abort
|
||||||
for [hash, cterm] in items(s:hash_colors)
|
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, '')
|
exe 'hi FugitiveblameHash'.hash.' guifg=#'.hash.get(s:hash_colors, hash, '')
|
||||||
else
|
else
|
||||||
exe 'hi link FugitiveblameHash'.hash.' Identifier'
|
exe 'hi link FugitiveblameHash'.hash.' Identifier'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user