nano

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

commit 92cbc7c4268c4eccd6f450f60948eba3ba5e9b74
parent 6f07f2b44463db9a7e5cd0b1ed0b764a08224fc0
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat, 30 Mar 2019 17:48:34 +0100

syntax: c: color as a type any lowercase word that ends with "_t"

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

diff --git a/syntax/c.nanorc b/syntax/c.nanorc @@ -10,7 +10,7 @@ color brightred "\<[A-Z_][0-9A-Z_]+\>" color brightmagenta "^[[:space:]]*[A-Z_a-z]+:[[:space:]]*$" color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|auto|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" -color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>" +color green "\<([[:lower:]]+|(u_?)?int(8|16|32|64|ptr))_t\>" color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|override|using|mutable|volatile|register|explicit)\>" color brightyellow "\<(for|if|while|do|else|case|default|switch)\>" color brightyellow "\<(try|throw|catch|operator|new|delete)\>"