nano

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

commit e9d6ceab0ba7ecddb06f7a7a6e6bee55cb68d3ec
parent 5103bfe6b8ee8a0b3d5aa12baca89471b4f9820d
Author: Dirkjan Ochtman <dirkjan@ochtman.nl>
Date:   Thu, 26 Sep 2019 12:35:58 +0200

syntax: rust: add the words reserved in 2018, and remove unreserved ones

See https://doc.rust-lang.org/reference/keywords.html,
and https://rust-lang.github.io/rfcs/2421-unreservations-2018.html.

Signed-off-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

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

diff --git a/syntax/rust.nanorc b/syntax/rust.nanorc @@ -11,7 +11,7 @@ comment "//" color magenta "fn [a-z_0-9]+" # Reserved words -color yellow "\<(abstract|alignof|as|become|box|break|const|continue|crate|do|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|offsetof|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\>" +color yellow "\<(abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|static|self|struct|super|trait|true|try|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\>" # Macros color red "[a-z_]+!"