Color in as a control keyword

This commit is contained in:
George Fraser
2020-05-10 11:08:32 -07:00
parent 46566d7a79
commit 3f1c73633e
3 changed files with 10 additions and 1 deletions

View File

@@ -408,7 +408,8 @@ fn highlight_element(
| T![loop]
| T![match]
| T![return]
| T![while] => h | HighlightModifier::ControlFlow,
| T![while]
| T![in] => h | HighlightModifier::ControlFlow,
T![unsafe] => h | HighlightModifier::Unsafe,
_ => h,
}