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 11821182 }
11831183 ],
11841184 "semanticTokenModifiers" : [
1185+ {
1186+ "id" : " async" ,
1187+ "description" : " Style for async functions and the `async` and `await` keywords"
1188+ },
11851189 {
11861190 "id" : " attribute" ,
11871191 "description" : " Style for elements within attributes"
11901194 "id" : " constant" ,
11911195 "description" : " Style for compile-time constants"
11921196 },
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+ },
11931205 {
11941206 "id" : " controlFlow" ,
1195- "description" : " Style for control flow keywords "
1207+ "description" : " Style for control- flow related tokens, this includes the `?` operator "
11961208 },
11971209 {
1198- "id" : " mutable " ,
1210+ "id" : " definition " ,
11991211 "description" : " Style for mutable bindings"
12001212 },
12011213 {
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 "
12041216 },
12051217 {
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 "
12081220 },
12091221 {
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"
12121244 }
12131245 ],
12141246 "semanticTokenScopes" : [
You can’t perform that action at this time.
0 commit comments