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:
@@ -232,7 +232,7 @@ fn highlight_element(
|
||||
| T![loop]
|
||||
| T![match]
|
||||
| T![return]
|
||||
| T![while] => h | HighlightModifier::Control,
|
||||
| T![while] => h | HighlightModifier::ControlFlow,
|
||||
T![unsafe] => h | HighlightModifier::Unsafe,
|
||||
_ => h,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user