Commit 1349c1d0 authored by Dirkjan Ochtman's avatar Dirkjan Ochtman Committed by Benno Schulenberg
Browse files

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: default avatarDirkjan Ochtman <dirkjan@ochtman.nl>
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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 "\".*\""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment