diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index d275284478..6fe16d794f 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json @@ -159,7 +159,7 @@ { "comment": "Keyword", "name": "keyword.other.rust", - "match": "\\b(crate|extern|mod|let|ref|use|super|move)\\b" + "match": "\\b(crate|extern|mod|let|ref|use|super|move|as)\\b" }, { "comment": "Reserved keyword", @@ -202,7 +202,7 @@ { "comment": "Miscellaneous operator", "name": "keyword.operator.misc.rust", - "match": "(=>|::|\\bas\\b)" + "match": "(=>|::)" }, { "comment": "Comparison operator",