Skip to content

Commit 46566d7

Browse files
committed
Color as as a keyword
1 parent e86379a commit 46566d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editors/code/rust.tmGrammar.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
{
160160
"comment": "Keyword",
161161
"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"
163163
},
164164
{
165165
"comment": "Reserved keyword",
@@ -202,7 +202,7 @@
202202
{
203203
"comment": "Miscellaneous operator",
204204
"name": "keyword.operator.misc.rust",
205-
"match": "(=>|::|\\bas\\b)"
205+
"match": "(=>|::)"
206206
},
207207
{
208208
"comment": "Comparison operator",

0 commit comments

Comments
 (0)