aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index 0088077cc..036180c60 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -540,6 +540,7 @@ fn highlight_element(
540 } 540 }
541 } 541 }
542 p if p.is_punct() => match p { 542 p if p.is_punct() => match p {
543 T![#] => HighlightTag::Attribute.into(),
543 T![::] | T![->] | T![=>] | T![&] | T![..] | T![=] | T![@] => { 544 T![::] | T![->] | T![=>] | T![&] | T![..] | T![=] | T![@] => {
544 HighlightTag::Operator.into() 545 HighlightTag::Operator.into()
545 } 546 }