aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-term/src/ui/prompt.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs
index 5e8cd1f5..1ac83390 100644
--- a/helix-term/src/ui/prompt.rs
+++ b/helix-term/src/ui/prompt.rs
@@ -470,6 +470,7 @@ impl Component for Prompt {
let event = match event {
Event::Paste(data) => {
self.insert_str(data);
+ self.recalculate_completion(cx.editor);
return EventResult::Consumed(None);
}
Event::Key(event) => *event,