diff options
author | Aleksey Kladov <[email protected]> | 2020-04-05 13:46:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-06 08:57:50 +0100 |
commit | 48bc0ca745a0ebdd61b7db3935582bf5ec95042b (patch) | |
tree | 2a9f6b1f5a9995c3bddf7a1ef829cb6890413b7d /editors | |
parent | 6207ac90da7e607218457bf872fa32df6b78f224 (diff) |
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
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 595d6e378..8ca8c76cc 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -512,7 +512,7 @@ | |||
512 | "description": "Style for compile-time constants" | 512 | "description": "Style for compile-time constants" |
513 | }, | 513 | }, |
514 | { | 514 | { |
515 | "id": "control", | 515 | "id": "controlFlow", |
516 | "description": "Style for control flow keywords" | 516 | "description": "Style for control flow keywords" |
517 | }, | 517 | }, |
518 | { | 518 | { |
@@ -546,9 +546,6 @@ | |||
546 | "keyword.unsafe": [ | 546 | "keyword.unsafe": [ |
547 | "keyword.other.unsafe" | 547 | "keyword.other.unsafe" |
548 | ], | 548 | ], |
549 | "keyword.control": [ | ||
550 | "keyword.control" | ||
551 | ], | ||
552 | "variable.constant": [ | 549 | "variable.constant": [ |
553 | "entity.name.constant" | 550 | "entity.name.constant" |
554 | ] | 551 | ] |