aboutsummaryrefslogtreecommitdiff
path: root/editors/code/rust.tmGrammar.json
diff options
context:
space:
mode:
authorGeorge Fraser <[email protected]>2020-05-10 19:01:56 +0100
committerGeorge Fraser <[email protected]>2020-05-10 21:07:28 +0100
commit46566d7a791d758447980a03b13fd79a76c76a0f (patch)
tree543121489dbc6833948d65d524a7dda007a6815c /editors/code/rust.tmGrammar.json
parente86379ad1509ce33bdceea167fb5b50fda5f7083 (diff)
Color `as` as a keyword
Diffstat (limited to 'editors/code/rust.tmGrammar.json')
-rw-r--r--editors/code/rust.tmGrammar.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json
index d27528447..6fe16d794 100644
--- a/editors/code/rust.tmGrammar.json
+++ b/editors/code/rust.tmGrammar.json
@@ -159,7 +159,7 @@
159 { 159 {
160 "comment": "Keyword", 160 "comment": "Keyword",
161 "name": "keyword.other.rust", 161 "name": "keyword.other.rust",
162 "match": "\\b(crate|extern|mod|let|ref|use|super|move)\\b" 162 "match": "\\b(crate|extern|mod|let|ref|use|super|move|as)\\b"
163 }, 163 },
164 { 164 {
165 "comment": "Reserved keyword", 165 "comment": "Reserved keyword",
@@ -202,7 +202,7 @@
202 { 202 {
203 "comment": "Miscellaneous operator", 203 "comment": "Miscellaneous operator",
204 "name": "keyword.operator.misc.rust", 204 "name": "keyword.operator.misc.rust",
205 "match": "(=>|::|\\bas\\b)" 205 "match": "(=>|::)"
206 }, 206 },
207 { 207 {
208 "comment": "Comparison operator", 208 "comment": "Comparison operator",