summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ide/tooltip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ide/tooltip.rs b/src/ide/tooltip.rs
index 566eb5a3..0796c09e 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<Tool
}
let expr = ancestor.cast::<ast::Expr>()?;
- if !expr.hashtag() {
+ if !expr.hashtag() && !matches!(expr, ast::Expr::MathIdent(_)) {
return None;
}