We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a74e760 commit 28d7a1eCopy full SHA for 28d7a1e
helix-term/src/ui/menu.rs
@@ -105,7 +105,7 @@ impl<T: Item> Menu<T> {
105
.iter()
106
.enumerate()
107
.filter_map(|(index, option)| {
108
- let text: String = option.filter_text(&self.editor_data).into();
+ let text = option.filter_text(&self.editor_data);
109
// TODO: using fuzzy_indices could give us the char idx for match highlighting
110
self.matcher
111
.fuzzy_match(&text, pattern)
0 commit comments