diff options
Diffstat (limited to 'crates/ide/src/syntax_highlighting.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting.rs b/crates/ide/src/syntax_highlighting.rs index 9f864179e..624a63075 100644 --- a/crates/ide/src/syntax_highlighting.rs +++ b/crates/ide/src/syntax_highlighting.rs | |||
@@ -562,6 +562,9 @@ fn highlight_element( | |||
562 | T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => { | 562 | T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => { |
563 | HighlightTag::Macro.into() | 563 | HighlightTag::Macro.into() |
564 | } | 564 | } |
565 | T![!] if element.parent().and_then(ast::NeverType::cast).is_some() => { | ||
566 | HighlightTag::BuiltinType.into() | ||
567 | } | ||
565 | T![*] if element.parent().and_then(ast::PtrType::cast).is_some() => { | 568 | T![*] if element.parent().and_then(ast::PtrType::cast).is_some() => { |
566 | HighlightTag::Keyword.into() | 569 | HighlightTag::Keyword.into() |
567 | } | 570 | } |