diff --git a/src/ide/tooltip.rs b/src/ide/tooltip.rs index 566eb5a3b..0796c09ef 100644 --- a/src/ide/tooltip.rs +++ b/src/ide/tooltip.rs @@ -38,7 +38,7 @@ fn expr_tooltip(world: &(dyn World + 'static), leaf: &LinkedNode) -> Option()?; - if !expr.hashtag() { + if !expr.hashtag() && !matches!(expr, ast::Expr::MathIdent(_)) { return None; }