diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index c6fc13519..f46684c76 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -479,6 +479,11 @@ | |||
479 | ], | 479 | ], |
480 | "grammars": [ | 480 | "grammars": [ |
481 | { | 481 | { |
482 | "language": "rust", | ||
483 | "scopeName": "source.rust", | ||
484 | "path": "rust.tmGrammar.json" | ||
485 | }, | ||
486 | { | ||
482 | "language": "ra_syntax_tree", | 487 | "language": "ra_syntax_tree", |
483 | "scopeName": "source.ra_syntax_tree", | 488 | "scopeName": "source.ra_syntax_tree", |
484 | "path": "ra_syntax_tree.tmGrammar.json" | 489 | "path": "ra_syntax_tree.tmGrammar.json" |
@@ -596,28 +601,28 @@ | |||
596 | "support.type.primitive" | 601 | "support.type.primitive" |
597 | ], | 602 | ], |
598 | "lifetime": [ | 603 | "lifetime": [ |
599 | "entity.name.lifetime.rust" | 604 | "storage.modifier.lifetime.rust" |
600 | ], | 605 | ], |
601 | "typeAlias": [ | 606 | "typeAlias": [ |
602 | "entity.name.typeAlias" | 607 | "entity.name.type.typeAlias" |
603 | ], | 608 | ], |
604 | "union": [ | 609 | "union": [ |
605 | "entity.name.union" | 610 | "entity.name.type.union" |
606 | ], | 611 | ], |
607 | "struct": [ | 612 | "struct": [ |
608 | "entity.name.type.struct" | 613 | "entity.name.type.struct" |
609 | ], | 614 | ], |
610 | "keyword.unsafe": [ | ||
611 | "keyword.other.unsafe" | ||
612 | ], | ||
613 | "keyword": [ | 615 | "keyword": [ |
614 | "keyword" | 616 | "keyword.other" |
615 | ], | 617 | ], |
616 | "keyword.controlFlow": [ | 618 | "keyword.controlFlow": [ |
617 | "keyword.control" | 619 | "keyword.control" |
618 | ], | 620 | ], |
619 | "variable.constant": [ | 621 | "variable.constant": [ |
620 | "entity.name.constant" | 622 | "variable.other.constant" |
623 | ], | ||
624 | "formatSpecifier": [ | ||
625 | "punctuation.section.embedded" | ||
621 | ] | 626 | ] |
622 | } | 627 | } |
623 | } | 628 | } |