mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-25 05:23:12 +00:00
Make control token modifier less ambiguous
In textmate, keyword.control is used for all kinds of things; in fact, the default scope mapping for keyword is keyword.control! So let's add a less ambiguous controlFlow modifier See Microsoft/vscode#94367
This commit is contained in:
parent
6207ac90da
commit
48bc0ca745
5 changed files with 9 additions and 12 deletions
|
|
@ -512,7 +512,7 @@
|
|||
"description": "Style for compile-time constants"
|
||||
},
|
||||
{
|
||||
"id": "control",
|
||||
"id": "controlFlow",
|
||||
"description": "Style for control flow keywords"
|
||||
},
|
||||
{
|
||||
|
|
@ -546,9 +546,6 @@
|
|||
"keyword.unsafe": [
|
||||
"keyword.other.unsafe"
|
||||
],
|
||||
"keyword.control": [
|
||||
"keyword.control"
|
||||
],
|
||||
"variable.constant": [
|
||||
"entity.name.constant"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue