Re: [code] Small patch to the diff lexer

From: Mitchell <>
Date: Thu, 3 Aug 2017 00:05:27 -0400 (EDT)


On Mon, 31 Jul 2017, Robert Gieseke wrote:

> Am 31/07/17 um 09:21 schrieb Pedro Andres Aranda Gutierrez:
>> I think the different elements of the diff file show 'different enough'. My
>> point is that you should not restrict to insertion is green deletion is
>> red, because some colour sight deficits may translate that into insert is
>> somehow grey and deletion is somewhat gray too...
>> I, for example try to avoid blues, i.e. RGB=(0,0,x) in my themes, because
>> I see them blurred up even with spectacles...
> Maybe we could have styles for "addition" and "deletion" like for
> "class" or "number" and everyone could style them in their themes as
> they liked?

That makes the most sense, but I'm not sure how I feel about specifically adding styles for this unique kind of token. It's not just the themes that change, but *lexers/lexer.lua* also needs updating. Then all lexers will have this style too, which seems excessive.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Thu 03 Aug 2017 - 00:05:27 EDT

This archive was generated by hypermail 2.2.0 : Thu 03 Aug 2017 - 06:49:38 EDT