mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
Merge #4436
4436: Use .rust suffix on scopes r=matklad a=georgewfraser This PR should have no effect on people using any of the default themes, but it is possible there are people with custom themes that rely on the .rust suffix on textmate scopes, which I neglected to use consistently in #4397. Co-authored-by: George Fraser <george@fivetran.com>
This commit is contained in:
commit
b30fb9e099
2 changed files with 10 additions and 10 deletions
|
@ -595,34 +595,34 @@
|
|||
"language": "rust",
|
||||
"scopes": {
|
||||
"attribute": [
|
||||
"meta.attribute"
|
||||
"meta.attribute.rust"
|
||||
],
|
||||
"builtinType": [
|
||||
"support.type.primitive"
|
||||
"support.type.primitive.rust"
|
||||
],
|
||||
"lifetime": [
|
||||
"storage.modifier.lifetime.rust"
|
||||
],
|
||||
"typeAlias": [
|
||||
"entity.name.type.typeAlias"
|
||||
"entity.name.type.typeAlias.rust"
|
||||
],
|
||||
"union": [
|
||||
"entity.name.type.union"
|
||||
"entity.name.type.union.rust"
|
||||
],
|
||||
"struct": [
|
||||
"entity.name.type.struct"
|
||||
"entity.name.type.struct.rust"
|
||||
],
|
||||
"keyword": [
|
||||
"keyword.other"
|
||||
"keyword.other.rust"
|
||||
],
|
||||
"keyword.controlFlow": [
|
||||
"keyword.control"
|
||||
"keyword.control.rust"
|
||||
],
|
||||
"variable.constant": [
|
||||
"variable.other.constant"
|
||||
"variable.other.constant.rust"
|
||||
],
|
||||
"formatSpecifier": [
|
||||
"punctuation.section.embedded"
|
||||
"punctuation.section.embedded.rust"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -597,7 +597,7 @@
|
|||
},
|
||||
"core_types": {
|
||||
"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"
|
||||
},
|
||||
"core_vars": {
|
||||
|
|
Loading…
Reference in a new issue