diff options
Diffstat (limited to 'helix-term/src/ui/menu.rs')
-rw-r--r-- | helix-term/src/ui/menu.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/menu.rs b/helix-term/src/ui/menu.rs index f32ce01c..bf18b92b 100644 --- a/helix-term/src/ui/menu.rs +++ b/helix-term/src/ui/menu.rs @@ -80,7 +80,7 @@ impl<T: Item> Menu<T> { let text = option.filter_text(); // TODO: using fuzzy_indices could give us the char idx for match highlighting matcher - .fuzzy_match(&text, pattern) + .fuzzy_match(text, pattern) .map(|score| (index, score)) }), ); |