aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/completion.rs
diff options
context:
space:
mode:
authorPascal Kuthe2022-10-13 18:10:10 +0000
committerBlaž Hrastnik2022-10-21 01:03:00 +0000
commit189aa0bfcfb6841ced946289e112cc9cdd4919a5 (patch)
tree21ea62e50048de9faad3877c4cc9d3627096352f /helix-term/src/ui/completion.rs
parentdc3527f52df27ae20294ca14bac60994725519aa (diff)
never sort menu items when no fuzzy matching is possible
Diffstat (limited to 'helix-term/src/ui/completion.rs')
-rw-r--r--helix-term/src/ui/completion.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs
index 2e555e4b..7348dcf4 100644
--- a/helix-term/src/ui/completion.rs
+++ b/helix-term/src/ui/completion.rs
@@ -97,7 +97,7 @@ impl Completion {
start_offset: usize,
trigger_offset: usize,
) -> Self {
- let menu = Menu::new(items, true, (), move |editor: &mut Editor, item, event| {
+ let menu = Menu::new(items, (), move |editor: &mut Editor, item, event| {
fn item_to_transaction(
doc: &Document,
item: &CompletionItem,