mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-20 03:49:51 +00:00
Adjust package.json semantic highlighting items
This commit is contained in:
parent
6b98e55dbb
commit
597c293a69
3 changed files with 37 additions and 9 deletions
|
|
@ -1934,6 +1934,11 @@
|
|||
"id": "constParameter",
|
||||
"description": "Style for const generics"
|
||||
},
|
||||
{
|
||||
"id": "const",
|
||||
"description": "Style for consts",
|
||||
"superType": "variable"
|
||||
},
|
||||
{
|
||||
"id": "derive",
|
||||
"description": "Style for derives",
|
||||
|
|
@ -1979,20 +1984,25 @@
|
|||
"description": "Style for the ! token of macro calls",
|
||||
"superType": "punctuation"
|
||||
},
|
||||
{
|
||||
"id": "operator",
|
||||
"description": "Style for operators",
|
||||
"superType": "punctuation"
|
||||
},
|
||||
{
|
||||
"id": "parenthesis",
|
||||
"description": "Style for ( or )",
|
||||
"superType": "punctuation"
|
||||
},
|
||||
{
|
||||
"id": "procMacro",
|
||||
"description": "Style for proc macro code",
|
||||
"superType": "macro"
|
||||
},
|
||||
{
|
||||
"id": "punctuation",
|
||||
"description": "Style for generic punctuation"
|
||||
},
|
||||
{
|
||||
"id": "operator",
|
||||
"description": "Style for operators",
|
||||
"superType": "punctuation"
|
||||
},
|
||||
{
|
||||
"id": "selfKeyword",
|
||||
"description": "Style for the self keyword",
|
||||
|
|
@ -2008,6 +2018,16 @@
|
|||
"description": "Style for ;",
|
||||
"superType": "punctuation"
|
||||
},
|
||||
{
|
||||
"id": "static",
|
||||
"description": "Style for statics",
|
||||
"superType": "variable"
|
||||
},
|
||||
{
|
||||
"id": "toolModule",
|
||||
"description": "Style for tool module attributes",
|
||||
"superType": "decorator"
|
||||
},
|
||||
{
|
||||
"id": "typeAlias",
|
||||
"description": "Style for type aliases",
|
||||
|
|
@ -2064,10 +2084,18 @@
|
|||
"id": "library",
|
||||
"description": "Style for items that are defined outside of the current crate"
|
||||
},
|
||||
{
|
||||
"id": "macro",
|
||||
"description": "Style for tokens inside of macro calls"
|
||||
},
|
||||
{
|
||||
"id": "mutable",
|
||||
"description": "Style for mutable locals and statics as well as functions taking `&mut self`"
|
||||
},
|
||||
{
|
||||
"id": "procMacro",
|
||||
"description": "Style for tokens inside of proc-macro calls"
|
||||
},
|
||||
{
|
||||
"id": "public",
|
||||
"description": "Style for items that are from the current crate and are `pub`"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue