mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Color as
as a keyword
This commit is contained in:
parent
e86379ad15
commit
46566d7a79
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@
|
||||||
{
|
{
|
||||||
"comment": "Keyword",
|
"comment": "Keyword",
|
||||||
"name": "keyword.other.rust",
|
"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",
|
"comment": "Reserved keyword",
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
{
|
{
|
||||||
"comment": "Miscellaneous operator",
|
"comment": "Miscellaneous operator",
|
||||||
"name": "keyword.operator.misc.rust",
|
"name": "keyword.operator.misc.rust",
|
||||||
"match": "(=>|::|\\bas\\b)"
|
"match": "(=>|::)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"comment": "Comparison operator",
|
"comment": "Comparison operator",
|
||||||
|
|
Loading…
Reference in a new issue