nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 3b5f650621e8153bc7201a171575c902f4d0b306
parent b66a0408282215427eba32798494e0b6b0fbaea4
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 16 Nov 2021 16:32:47 +0100

tweaks: use a color closer to the rest of the string, to reduce contrast

On my normal machine, 'peach' harmonizes nicely with 'brightgreen',
but on another there is a large, jarring contrast.

Diffstat:
Msyntax/python.nanorc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/syntax/python.nanorc b/syntax/python.nanorc @@ -33,8 +33,8 @@ color brightgreen start="'''([^'),]|$)" end="(^|[^(\])'''" color brightgreen start=""""([^"),]|$)" end="(^|[^(\])"""" # Backslash escapes. -color peach "\\($|[\'"abfnrtv]|[0-3]?[0-7]?[0-7]|x[[:xdigit:]]{2})" -color peach "\\(N\{[[:alpha:]]+\}|u[[:xdigit:]]{4}|U[[:xdigit:]]{8})" +color lime "\\($|[\'"abfnrtv]|[0-3]?[0-7]?[0-7]|x[[:xdigit:]]{2})" +color lime "\\(N\{[[:alpha:]]+\}|u[[:xdigit:]]{4}|U[[:xdigit:]]{8})" # Reminders. color brightwhite,yellow "\<(FIXME|TODO|XXX)\>"