# as Attribute

- Issue  #5453
This commit is contained in:
GrayJack
2020-07-20 23:19:29 -03:00
parent 462e0158da
commit 04d8dc4a10
3 changed files with 3 additions and 2 deletions

View File

@@ -540,6 +540,7 @@ fn highlight_element(
}
}
p if p.is_punct() => match p {
T![#] => HighlightTag::Attribute.into(),
T![::] | T![->] | T![=>] | T![&] | T![..] | T![=] | T![@] => {
HighlightTag::Operator.into()
}