bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33567: Syntactic fontification of diff hunks


From: Dmitry Gutov
Subject: bug#33567: Syntactic fontification of diff hunks
Date: Thu, 20 Dec 2018 03:15:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0

On 19.12.2018 2:11, Juri Linkov wrote:

Neither GitHub nor GitLab have foreground green/red colors, only background
green/red colors.

Speaking of GitHub and GitLab, I wonder if we should take another cue from them and tone down our background colors as well.

This makes the new diffs more readable for me:

(eval-after-load 'diff-mode
  '(progn
     (set-face-background 'diff-added "#eeffee")
     (set-face-background 'diff-removed "#ffeeee")
     (set-face-background 'diff-refine-added "#d0ffd0")
     (set-face-background 'diff-refine-removed "#ffd0d0")
     ))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]