mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 23:24:29 +00:00
Put sigil back to keyword.operator
This commit is contained in:
parent
2d2b32abe5
commit
97428b6d52
1 changed files with 2 additions and 2 deletions
|
@ -530,7 +530,7 @@
|
|||
},
|
||||
"sigils": {
|
||||
"comment": "Sigil",
|
||||
"name": "keyword.other.sigil.rust",
|
||||
"name": "keyword.operator.sigil.rust",
|
||||
"match": "[&*](?=[a-zA-Z0-9_\\(\\[\\|\\\"]+)"
|
||||
},
|
||||
"self": {
|
||||
|
@ -588,7 +588,7 @@
|
|||
"match": "(&)('[a-zA-Z_][a-zA-Z0-9_]*)\\b",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.other.sigil.rust"
|
||||
"name": "keyword.operator.sigil.rust"
|
||||
},
|
||||
"2": {
|
||||
"name": "storage.modifier.lifetime.rust"
|
||||
|
|
Loading…
Reference in a new issue