nano

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

commit c5a0e6b60c4eea14daae5b5b739020b6e35d2204
parent d7e86657823c1560d211063c0143e4c4ccb10b6b
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat, 20 Jul 2024 18:12:12 +0200

syntax: awk: colorize escape sequences specially

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

diff --git a/syntax/awk.nanorc b/syntax/awk.nanorc @@ -32,6 +32,8 @@ color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>" # Strings. color brightyellow ""([^"\]|\\.)*"" +# Escape sequences. +color brick "\\([abfnrtv\/"]|[0-7]{1,3}|x[[:xdigit:]]{1,2}|u[[:xdigit:]]{1,8})" # Comments. color brightblue "(^|[[:blank:]])#.*"