Use .rust suffix on scopes

This commit is contained in:
George Fraser 2020-05-12 08:31:43 -07:00
parent 93eae6549e
commit 57c52bd397
2 changed files with 10 additions and 10 deletions

View file

@ -595,34 +595,34 @@
"language": "rust", "language": "rust",
"scopes": { "scopes": {
"attribute": [ "attribute": [
"meta.attribute" "meta.attribute.rust"
], ],
"builtinType": [ "builtinType": [
"support.type.primitive" "support.type.primitive.rust"
], ],
"lifetime": [ "lifetime": [
"storage.modifier.lifetime.rust" "storage.modifier.lifetime.rust"
], ],
"typeAlias": [ "typeAlias": [
"entity.name.type.typeAlias" "entity.name.type.typeAlias.rust"
], ],
"union": [ "union": [
"entity.name.type.union" "entity.name.type.union.rust"
], ],
"struct": [ "struct": [
"entity.name.type.struct" "entity.name.type.struct.rust"
], ],
"keyword": [ "keyword": [
"keyword.other" "keyword.other.rust"
], ],
"keyword.controlFlow": [ "keyword.controlFlow": [
"keyword.control" "keyword.control.rust"
], ],
"variable.constant": [ "variable.constant": [
"variable.other.constant" "variable.other.constant.rust"
], ],
"formatSpecifier": [ "formatSpecifier": [
"punctuation.section.embedded" "punctuation.section.embedded.rust"
] ]
} }
} }

View file

@ -597,7 +597,7 @@
}, },
"core_types": { "core_types": {
"comment": "Built-in/core type", "comment": "Built-in/core type",
"name": "support.type.primitive", "name": "support.type.primitive.rust",
"match": "\\b(bool|char|usize|isize|u8|u16|u32|u64|u128|i8|i16|i32|i64|i128|f32|f64|str|Self)\\b" "match": "\\b(bool|char|usize|isize|u8|u16|u32|u64|u128|i8|i16|i32|i64|i128|f32|f64|str|Self)\\b"
}, },
"core_vars": { "core_vars": {