diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 18 | ||||
-rw-r--r-- | editors/code/rust.tmGrammar.json | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index f46684c76..e51f1105b 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -595,34 +595,34 @@ | |||
595 | "language": "rust", | 595 | "language": "rust", |
596 | "scopes": { | 596 | "scopes": { |
597 | "attribute": [ | 597 | "attribute": [ |
598 | "meta.attribute" | 598 | "meta.attribute.rust" |
599 | ], | 599 | ], |
600 | "builtinType": [ | 600 | "builtinType": [ |
601 | "support.type.primitive" | 601 | "support.type.primitive.rust" |
602 | ], | 602 | ], |
603 | "lifetime": [ | 603 | "lifetime": [ |
604 | "storage.modifier.lifetime.rust" | 604 | "storage.modifier.lifetime.rust" |
605 | ], | 605 | ], |
606 | "typeAlias": [ | 606 | "typeAlias": [ |
607 | "entity.name.type.typeAlias" | 607 | "entity.name.type.typeAlias.rust" |
608 | ], | 608 | ], |
609 | "union": [ | 609 | "union": [ |
610 | "entity.name.type.union" | 610 | "entity.name.type.union.rust" |
611 | ], | 611 | ], |
612 | "struct": [ | 612 | "struct": [ |
613 | "entity.name.type.struct" | 613 | "entity.name.type.struct.rust" |
614 | ], | 614 | ], |
615 | "keyword": [ | 615 | "keyword": [ |
616 | "keyword.other" | 616 | "keyword.other.rust" |
617 | ], | 617 | ], |
618 | "keyword.controlFlow": [ | 618 | "keyword.controlFlow": [ |
619 | "keyword.control" | 619 | "keyword.control.rust" |
620 | ], | 620 | ], |
621 | "variable.constant": [ | 621 | "variable.constant": [ |
622 | "variable.other.constant" | 622 | "variable.other.constant.rust" |
623 | ], | 623 | ], |
624 | "formatSpecifier": [ | 624 | "formatSpecifier": [ |
625 | "punctuation.section.embedded" | 625 | "punctuation.section.embedded.rust" |
626 | ] | 626 | ] |
627 | } | 627 | } |
628 | } | 628 | } |
diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index 27982c13a..aa0811326 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json | |||
@@ -597,7 +597,7 @@ | |||
597 | }, | 597 | }, |
598 | "core_types": { | 598 | "core_types": { |
599 | "comment": "Built-in/core type", | 599 | "comment": "Built-in/core type", |
600 | "name": "support.type.primitive", | 600 | "name": "support.type.primitive.rust", |
601 | "match": "\\b(bool|char|usize|isize|u8|u16|u32|u64|u128|i8|i16|i32|i64|i128|f32|f64|str|Self)\\b" | 601 | "match": "\\b(bool|char|usize|isize|u8|u16|u32|u64|u128|i8|i16|i32|i64|i128|f32|f64|str|Self)\\b" |
602 | }, | 602 | }, |
603 | "core_vars": { | 603 | "core_vars": { |