aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDusty Pomerleau <[email protected]>2020-11-07 11:08:29 +0000
committerDusty Pomerleau <[email protected]>2020-11-07 11:08:29 +0000
commit6959cb045ca2ac2bfe87c5408cba4da257716d02 (patch)
tree20c65631e8c3d0ab94e5bcaeae54258687a7105f /editors
parent1b147306b47bb869a048c510f40083387d4dfe27 (diff)
allow variables to terminate ranges
Diffstat (limited to 'editors')
-rw-r--r--editors/code/rust.tmGrammar.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json
index f551498ac..608a3354e 100644
--- a/editors/code/rust.tmGrammar.json
+++ b/editors/code/rust.tmGrammar.json
@@ -1127,7 +1127,7 @@
1127 { 1127 {
1128 "comment": "variables", 1128 "comment": "variables",
1129 "name": "variable.other.rust", 1129 "name": "variable.other.rust",
1130 "match": "\\b(?<!\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b" 1130 "match": "\\b(?<!(?<!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b"
1131 } 1131 }
1132 ] 1132 ]
1133 } 1133 }