Improve diff highlighting
This commit is contained in:
parent
defe010f9d
commit
a1d99bef83
|
@ -337,10 +337,10 @@ local highlight_groups = {
|
||||||
Folded = {bg=purple_light, fg=black, style='italic'},
|
Folded = {bg=purple_light, fg=black, style='italic'},
|
||||||
|
|
||||||
--[[ 4.2.6. Diffs]]
|
--[[ 4.2.6. Diffs]]
|
||||||
DiffAdd = {fg=green_dark, style='inverse'},
|
DiffAdd = {fg=black, bg=green_dark},
|
||||||
DiffChange = {fg=yellow, style='inverse'},
|
DiffChange = {},
|
||||||
DiffDelete = {fg=red, style='inverse'},
|
DiffDelete = function(self) return {fg=self.DiffAdd.fg, bg=red} end,
|
||||||
DiffText = {fg=FG},
|
DiffText = function(self) return {fg=self.DiffAdd.fg, bg=yellow} end,
|
||||||
|
|
||||||
--[[ 4.2.7. Searching]]
|
--[[ 4.2.7. Searching]]
|
||||||
IncSearch = {style='inverse'},
|
IncSearch = {style='inverse'},
|
||||||
|
|
Loading…
Reference in New Issue