File tree Expand file tree Collapse file tree 1 file changed +27
-58
lines changed Expand file tree Collapse file tree 1 file changed +27
-58
lines changed Original file line number Diff line number Diff line change 521521 "description" : " Style for unsafe operations"
522522 }
523523 ],
524- "semanticTokenStyleDefaults " : [
524+ "semanticTokenScopes " : [
525525 {
526- "selector" : " attribute" ,
527- "scope" : [
528- " meta.attribute"
529- ]
530- },
531- {
532- "selector" : " builtinType" ,
533- "scope" : [
534- " support.type.primitive"
535- ]
536- },
537- {
538- "selector" : " lifetime" ,
539- "scope" : [
540- " entity.name.lifetime.rust"
541- ]
542- },
543- {
544- "selector" : " typeAlias" ,
545- "scope" : [
546- " entity.name.typeAlias"
547- ]
548- },
549- {
550- "selector" : " union" ,
551- "scope" : [
552- " entity.name.union"
553- ]
554- },
555- {
556- "selector" : " keyword.unsafe" ,
557- "scope" : [
558- " keyword.other.unsafe"
559- ]
560- },
561- {
562- "selector" : " keyword.control" ,
563- "scope" : [
564- " keyword.control"
565- ]
566- },
567- {
568- "selector" : " variable.constant" ,
569- "scope" : [
570- " entity.name.constant"
571- ]
572- },
573- {
574- "selector" : " *.mutable" ,
575- "light" : {
576- "fontStyle" : " underline"
577- },
578- "dark" : {
579- "fontStyle" : " underline"
580- },
581- "highContrast" : {
582- "fontStyle" : " underline"
526+ "language" : " rust" ,
527+ "scopes" : {
528+ "attribute" : [
529+ " meta.attribute"
530+ ],
531+ "builtinType" : [
532+ " support.type.primitive"
533+ ],
534+ "lifetime" : [
535+ " entity.name.lifetime.rust"
536+ ],
537+ "typeAlias" : [
538+ " entity.name.typeAlias"
539+ ],
540+ "union" : [
541+ " entity.name.union"
542+ ],
543+ "keyword.unsafe" : [
544+ " keyword.other.unsafe"
545+ ],
546+ "keyword.control" : [
547+ " keyword.control"
548+ ],
549+ "variable.constant" : [
550+ " entity.name.constant"
551+ ]
583552 }
584553 }
585554 ]
You can’t perform that action at this time.
0 commit comments