nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] syntax variables


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] syntax variables
Date: Wed, 17 Jan 2018 21:51:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0


Op 17-01-18 om 09:32 schreef Brand Huntsman:
This patch adds the ability to define variables in syntax files and interpolate them in regex strings or other variables. See changes to syntax/nanorc.nanorc for an example.

I don't like it.  Too much code for no gain at all, in my opinion,
making the syntax files only harder to read.

This also solves the EOL comment issue with #RGB colors, without quoting the colors.

Do you mean your patch changes things in such a way that it becomes
possible to allow EOL comments?  Or that the patch changes the comment
regex in such a way as to do the right thing, even when #rrggbb numbers
are present?

Benno



reply via email to

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