From 66f26e82ceaf4b81dfeb429dcb840a3242e8f254 Mon Sep 17 00:00:00 2001
From: Blaž Hrastnik
Date: Fri, 27 Aug 2021 10:44:12 +0900
Subject: Filter the initial completion
---
helix-term/src/ui/completion.rs | 25 +++++++++++++++++++------
helix-term/src/ui/editor.rs | 5 ++++-
2 files changed, 23 insertions(+), 7 deletions(-)
(limited to 'helix-term/src/ui')
diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs
index 6c9e3a80..72b03274 100644
--- a/helix-term/src/ui/completion.rs
+++ b/helix-term/src/ui/completion.rs
@@ -69,14 +69,17 @@ impl menu::Item for CompletionItem {
/// Wraps a Menu.
pub struct Completion {
popup: Popup