Improve diff highlighting

This commit is contained in:
Iron_E 2020-11-21 02:54:59 -05:00
parent defe010f9d
commit a1d99bef83
No known key found for this signature in database
GPG Key ID: B0B37DE7EDC2335F
1 changed files with 4 additions and 4 deletions

View File

@ -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'},