diff --git a/kittens/diff/config.py b/kittens/diff/config.py index e25e94c82..bef86115a 100644 --- a/kittens/diff/config.py +++ b/kittens/diff/config.py @@ -34,12 +34,15 @@ def set_formats(opts): formats['filler'] = '48' + color_as_sgr(opts.filler_bg) formats['hunk_margin'] = '38' + color_as_sgr(opts.margin_fg) + ';48' + color_as_sgr(opts.hunk_margin_bg) formats['hunk'] = '38' + color_as_sgr(opts.margin_fg) + ';48' + color_as_sgr(opts.hunk_bg) + formats['removed_highlight'] = '48' + color_as_sgr(opts.highlight_removed_bg) + formats['added_highlight'] = '48' + color_as_sgr(opts.highlight_added_bg) type_map = {} for name in ( 'foreground background title_fg title_bg margin_bg margin_fg removed_bg removed_margin_bg added_bg added_margin_bg filler_bg hunk_bg hunk_margin_bg' + ' highlight_removed_bg highlight_added_bg' ).split(): type_map[name] = to_color diff --git a/kittens/diff/diff.conf b/kittens/diff/diff.conf index a03d546d3..eb125e097 100644 --- a/kittens/diff/diff.conf +++ b/kittens/diff/diff.conf @@ -1,13 +1,15 @@ -foreground black -background white -title_fg black -title_bg white -margin_bg #fafbfc -margin_fg #aaaaaa -removed_bg #ffeef0 -removed_margin_bg #ffdce0 -added_bg #e6ffed -added_margin_bg #cdffd8 -filler_bg #fafbfc -hunk_margin_bg #dbedff -hunk_bg #f1f8ff +foreground black +background white +title_fg black +title_bg white +margin_bg #fafbfc +margin_fg #aaaaaa +removed_bg #ffeef0 +highlight_removed_bg #fdb8c0 +removed_margin_bg #ffdce0 +added_bg #e6ffed +highlight_added_bg #acf2bd +added_margin_bg #cdffd8 +filler_bg #fafbfc +hunk_margin_bg #dbedff +hunk_bg #f1f8ff