We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a662228 commit 462e015Copy full SHA for 462e015
crates/ra_ide/src/syntax_highlighting.rs
@@ -540,8 +540,9 @@ fn highlight_element(
540
}
541
542
p if p.is_punct() => match p {
543
- T![::] | T![->] | T![=>] | T![&] | T![..] | T![=] => HighlightTag::Operator.into(),
544
- T![@] => HighlightTag::Operator | HighlightModifier::ControlFlow,
+ T![::] | T![->] | T![=>] | T![&] | T![..] | T![=] | T![@] => {
+ HighlightTag::Operator.into()
545
+ }
546
T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => {
547
HighlightTag::Macro.into()
548
0 commit comments