nano

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

commit 1349c1d02c866eb478e2549a5cfc1b61a57b1583
parent 4c566c79033ea106588afd23389452588246a18f
Author: Dirkjan Ochtman <dirkjan@ochtman.nl>
Date:   Thu, 21 Jul 2016 10:21:19 +0200

syntax: allow capital letters in Rust struct/trait names

Per https://doc.rust-lang.org/reference.html#fn2, non-ASCII characters are
currently not allowed in stable Rust, so keep it ASCII-only for now.

Signed-off-by: Dirkjan Ochtman <dirkjan@ochtman.nl>

Diffstat:
Mdoc/syntax/rust.nanorc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/syntax/rust.nanorc b/doc/syntax/rust.nanorc @@ -20,7 +20,7 @@ color red "[a-z_]+!" color magenta "[A-Z][A-Z_0-9]+" # Traits/Enums/Structs/Types/... -color magenta "[A-Z][a-z0-9]+" +color magenta "[A-Z][A-Za-z0-9]+" # Strings color green "\".*\""