From a1d99bef834566c48db69d435f4044f92ad219fd Mon Sep 17 00:00:00 2001 From: Iron_E Date: Sat, 21 Nov 2020 02:54:59 -0500 Subject: [PATCH] Improve diff highlighting --- colors/highlite.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/colors/highlite.vim b/colors/highlite.vim index cafe880..e7551e4 100644 --- a/colors/highlite.vim +++ b/colors/highlite.vim @@ -337,10 +337,10 @@ local highlight_groups = { Folded = {bg=purple_light, fg=black, style='italic'}, --[[ 4.2.6. Diffs]] - DiffAdd = {fg=green_dark, style='inverse'}, - DiffChange = {fg=yellow, style='inverse'}, - DiffDelete = {fg=red, style='inverse'}, - DiffText = {fg=FG}, + DiffAdd = {fg=black, bg=green_dark}, + DiffChange = {}, + DiffDelete = function(self) return {fg=self.DiffAdd.fg, bg=red} end, + DiffText = function(self) return {fg=self.DiffAdd.fg, bg=yellow} end, --[[ 4.2.7. Searching]] IncSearch = {style='inverse'},