File tree Expand file tree Collapse file tree 1 file changed +40
-8
lines changed Expand file tree Collapse file tree 1 file changed +40
-8
lines changed Original file line number Diff line number Diff line change 1182
1182
}
1183
1183
],
1184
1184
"semanticTokenModifiers" : [
1185
+ {
1186
+ "id" : " async" ,
1187
+ "description" : " Style for async functions and the `async` and `await` keywords"
1188
+ },
1185
1189
{
1186
1190
"id" : " attribute" ,
1187
1191
"description" : " Style for elements within attributes"
1190
1194
"id" : " constant" ,
1191
1195
"description" : " Style for compile-time constants"
1192
1196
},
1197
+ {
1198
+ "id" : " callable" ,
1199
+ "description" : " Style for locals whose types implements one of the `Fn*` traits"
1200
+ },
1201
+ {
1202
+ "id" : " consuming" ,
1203
+ "description" : " Style for locals that are being consumed when use in a function call"
1204
+ },
1193
1205
{
1194
1206
"id" : " controlFlow" ,
1195
- "description" : " Style for control flow keywords "
1207
+ "description" : " Style for control- flow related tokens, this includes the `?` operator "
1196
1208
},
1197
1209
{
1198
- "id" : " mutable " ,
1210
+ "id" : " definition " ,
1199
1211
"description" : " Style for mutable bindings"
1200
1212
},
1201
1213
{
1202
- "id" : " unsafe " ,
1203
- "description" : " Style for unsafe operations "
1214
+ "id" : " injected " ,
1215
+ "description" : " Style for doc-string injected highlighting like rust source blocks in documentation "
1204
1216
},
1205
1217
{
1206
- "id" : " consuming " ,
1207
- "description" : " Style for non-Copy lvalues consumed by method/function call "
1218
+ "id" : " intraDocLink " ,
1219
+ "description" : " Style for intra doc links in doc-strings "
1208
1220
},
1209
1221
{
1210
- "id" : " callable" ,
1211
- "description" : " Style for variables/parameters that can be used in call expressions"
1222
+ "id" : " library" ,
1223
+ "description" : " Style for items that are defined outside of the current crate"
1224
+ },
1225
+ {
1226
+ "id" : " mutable" ,
1227
+ "description" : " Style for mutable locals and statics as well as functions taking `&mut self`"
1228
+ },
1229
+ {
1230
+ "id" : " public" ,
1231
+ "description" : " Style tems that are from the current crate and are `pub`"
1232
+ },
1233
+ {
1234
+ "id" : " reference" ,
1235
+ "description" : " Style for locals behind a reference and functions taking `self` by reference"
1236
+ },
1237
+ {
1238
+ "id" : " trait" ,
1239
+ "description" : " Style for associated trait items"
1240
+ },
1241
+ {
1242
+ "id" : " unsafe" ,
1243
+ "description" : " Style for unsafe operations, like unsafe function calls, as well as the `unsafe` token"
1212
1244
}
1213
1245
],
1214
1246
"semanticTokenScopes" : [
You can’t perform that action at this time.
0 commit comments