From 4885872f62005d1f043ccdaa4f01b8f2103c67ae Mon Sep 17 00:00:00 2001 From: jonathon Date: Tue, 22 Sep 2020 18:19:35 +0200 Subject: [PATCH] use cursor hl group for corresponding diff in terminal vim also --- autoload/diffchar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/diffchar.vim b/autoload/diffchar.vim index 5fbc6a5..d817bdd 100644 --- a/autoload/diffchar.vim +++ b/autoload/diffchar.vim @@ -75,7 +75,7 @@ function! s:SetDiffCharHL() abort endif " set DiffChar specific highlights let s:DCharHL = {'A': 'DiffAdd', 'D': 'DiffDelete', 'n': 'LineNr', - \'c': (s:VF.GUIColors ? 'Cursor' : 'VertSplit')} + \'c': 'Cursor'} for [fh, tn, th, ta] in [['DiffChange', 'C', 'dcDiffChange', ''], \['DiffText', 'T', 'dcDiffText', ''], \['DiffChange', 'E', 'dcDiffErase', 'bold,underline']] +