diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index c6fc13519..e51f1105b 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" |
@@ -590,34 +595,34 @@ | |||
590 | "language": "rust", | 595 | "language": "rust", |
591 | "scopes": { | 596 | "scopes": { |
592 | "attribute": [ | 597 | "attribute": [ |
593 | "meta.attribute" | 598 | "meta.attribute.rust" |
594 | ], | 599 | ], |
595 | "builtinType": [ | 600 | "builtinType": [ |
596 | "support.type.primitive" | 601 | "support.type.primitive.rust" |
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.rust" |
603 | ], | 608 | ], |
604 | "union": [ | 609 | "union": [ |
605 | "entity.name.union" | 610 | "entity.name.type.union.rust" |
606 | ], | 611 | ], |
607 | "struct": [ | 612 | "struct": [ |
608 | "entity.name.type.struct" | 613 | "entity.name.type.struct.rust" |
609 | ], | ||
610 | "keyword.unsafe": [ | ||
611 | "keyword.other.unsafe" | ||
612 | ], | 614 | ], |
613 | "keyword": [ | 615 | "keyword": [ |
614 | "keyword" | 616 | "keyword.other.rust" |
615 | ], | 617 | ], |
616 | "keyword.controlFlow": [ | 618 | "keyword.controlFlow": [ |
617 | "keyword.control" | 619 | "keyword.control.rust" |
618 | ], | 620 | ], |
619 | "variable.constant": [ | 621 | "variable.constant": [ |
620 | "entity.name.constant" | 622 | "variable.other.constant.rust" |
623 | ], | ||
624 | "formatSpecifier": [ | ||
625 | "punctuation.section.embedded.rust" | ||
621 | ] | 626 | ] |
622 | } | 627 | } |
623 | } | 628 | } |