Add diff-refine-{added,removed} faces

These are used by tools like Magit to show which specific text changed
in a changed line (as opposed to added/removed whole lines, which is
what diff-{added,removed} shows).

In order to mimic the behaviour shown by tools like GitHub I've just
reversed the corresponding whole line faces so they stand out.
This commit is contained in:
Bradley Wright 2015-05-14 10:50:53 +01:00
parent ce8762fbd0
commit 37edf8228c
1 changed files with 2 additions and 0 deletions

View File

@ -302,6 +302,8 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further."
(diff-changed (,@fg-yellow ,@bg-base02))
(diff-removed (,@fg-red ,@bg-base02))
(diff-refine-change (,@fg-blue ,@bg-base02))))))
(diff-refine-added (:inherit diff-added ,@fmt-revr))
(diff-refine-removed (:inherit diff-removed ,@fmt-revr))
(diff-file-header (,@bg-back))
(diff-header (,@fg-base1 ,@bg-back))
;; IDO