[Top][All Lists]

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

bug#33567: Syntactic fontification of diff hunks

From: Juri Linkov
Subject: bug#33567: Syntactic fontification of diff hunks
Date: Sun, 30 Dec 2018 01:07:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> With that in mind, I'm going to experiment with even lighter colors,
>> similar to what I originally proposed, in my private config:
>>      (set-face-background 'diff-refine-added "#d0ffd0")
>>      (set-face-background 'diff-refine-removed "#ffd6d6")
>> Maybe try them out sometime.
> These are better on large chunks, but harder to notice on smaller ones.

Or we could add more faces: lighter refine-added/removed for multi-line chunks,
and darker refine-added/removed faces for one-line differences.

reply via email to

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