nano

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

commit 3b8847f319891d069a021f9036c36eaeb1fee672
parent a578d2706c0cf39cdbc1bb1ca95cbcae5f159e58
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 29 Jul 2019 19:07:43 +0200

syntax: po: colorize numbers only when they form a self-contained word

Diffstat:
Msyntax/po.nanorc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/po.nanorc b/syntax/po.nanorc @@ -12,7 +12,7 @@ color brightmagenta "\<(Project\-Id\-Version|Report\-Msgid\-Bugs\-To|Last\-Trans color cyan "\<(POT\-Creation\-Date|PO\-Revision\-Date|MIME\-Version|Content\-Type|Content\-Transfer\-Encoding)\>" # Encodings and numbers. color yellow "\<(UTF|ISO|Windows|Mac|IBM)-[0-9]+" -color yellow "[0-9]|pre[0-9]|[0-9]bit" +color yellow "\<((pre|rc)?[0-9]+|[0-9]bit)\>" # Msgids. color brightblue "^(msgid|msgid_plural|msgstr)\>" # Tags.