We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b16b9d commit 63a54eeCopy full SHA for 63a54ee
helix-term/src/ui/menu.rs
@@ -117,10 +117,7 @@ impl<T: Item> Menu<T> {
117
.map(|score| (index, score))
118
}),
119
);
120
- // matches.sort_unstable_by_key(|(_, score)| -score);
121
- self.matches.sort_unstable_by_key(|(index, _score)| {
122
- self.options[*index].sort_text(&self.editor_data)
123
- });
+ self.matches.sort_unstable_by_key(|(_, score)| -score);
124
125
// reset cursor position
126
self.cursor = None;
0 commit comments