diff options
| author | Igor Khanin <igor@khanin.biz> | 2025-05-28 16:05:10 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-28 13:05:10 +0000 |
| commit | 6e0f48e192ddbd934d3aadd056810c86bcc3defd (patch) | |
| tree | 74ef59293c12e9b1114d365d877847c67d2cb9f4 /crates/typst-ide/src/tooltip.rs | |
| parent | 2a258a0c3849073c56a0559dbd67ee2effcd1031 (diff) | |
More precise math font autocomplete suggestions (#6316)
Diffstat (limited to 'crates/typst-ide/src/tooltip.rs')
| -rw-r--r-- | crates/typst-ide/src/tooltip.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-ide/src/tooltip.rs b/crates/typst-ide/src/tooltip.rs index 2638ce51..e5e4cc19 100644 --- a/crates/typst-ide/src/tooltip.rs +++ b/crates/typst-ide/src/tooltip.rs @@ -269,7 +269,7 @@ fn font_tooltip(world: &dyn IdeWorld, leaf: &LinkedNode) -> Option<Tooltip> { .find(|&(family, _)| family.to_lowercase().as_str() == lower.as_str()); then { - let detail = summarize_font_family(iter); + let detail = summarize_font_family(iter.collect()); return Some(Tooltip::Text(detail)); } }; |
