diff --git a/syntax/rust.nanorc b/syntax/rust.nanorc index ef114ec7..694269df 100644 --- 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|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)\>" +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|self|static|struct|super|trait|true|try|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\>" # Macros color red "[a-z_]+!"