diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 20:53:59 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 20:53:59 +0100 |
| commit | 70c8a089057f2c73ebeb5201fd59ee588f1c49d4 (patch) | |
| tree | 01489fe30b5bd9974d3e3bee8a685bae0b09491f /src | |
| parent | b6ee82c7e85ecaa1da420b69706dd2560aafc82f (diff) | |
Fix hover tooltip in math
Diffstat (limited to 'src')
| -rw-r--r-- | src/ide/tooltip.rs | 2 |
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; } |
