mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Fix highlighting of injected attributes
This commit is contained in:
parent
5ddfde3038
commit
0f324bac6b
1 changed files with 44 additions and 0 deletions
|
@ -950,6 +950,50 @@
|
||||||
{
|
{
|
||||||
"id": "formatSpecifier",
|
"id": "formatSpecifier",
|
||||||
"description": "Style for {} placeholders in format strings"
|
"description": "Style for {} placeholders in format strings"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "punctuation",
|
||||||
|
"description": "generic punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "parenthesis",
|
||||||
|
"description": "( or )",
|
||||||
|
"superType": "punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bracket",
|
||||||
|
"description": "[ or ]",
|
||||||
|
"superType": "punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "brace",
|
||||||
|
"description": "{ or }",
|
||||||
|
"superType": "punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "angle",
|
||||||
|
"description": "< or >",
|
||||||
|
"superType": "punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "comma",
|
||||||
|
"description": ",",
|
||||||
|
"superType": "punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "colon",
|
||||||
|
"description": ":",
|
||||||
|
"superType": "punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "semicolon",
|
||||||
|
"description": ";",
|
||||||
|
"superType": "punctuation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "dot",
|
||||||
|
"description": ".",
|
||||||
|
"superType": "punctuation"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"semanticTokenModifiers": [
|
"semanticTokenModifiers": [
|
||||||
|
|
Loading…
Reference in a new issue