aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting.rs
diff options
context:
space:
mode:
authorGeorge Fraser <[email protected]>2020-05-10 19:08:32 +0100
committerGeorge Fraser <[email protected]>2020-05-10 21:07:28 +0100
commit3f1c73633eb3e5d8a2df3a72dc772087cfb18be4 (patch)
treeb70dbd08238f38dfb7fab482d5e543c87cddc26d /crates/ra_ide/src/syntax_highlighting.rs
parent46566d7a791d758447980a03b13fd79a76c76a0f (diff)
Color `in` as a control keyword
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting.rs')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index d53a39f57..16123c5cb 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -408,7 +408,8 @@ fn highlight_element(
408 | T![loop] 408 | T![loop]
409 | T![match] 409 | T![match]
410 | T![return] 410 | T![return]
411 | T![while] => h | HighlightModifier::ControlFlow, 411 | T![while]
412 | T![in] => h | HighlightModifier::ControlFlow,
412 T![unsafe] => h | HighlightModifier::Unsafe, 413 T![unsafe] => h | HighlightModifier::Unsafe,
413 _ => h, 414 _ => h,
414 } 415 }