diff options
author | Blaž Hrastnik | 2022-08-30 03:27:04 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-08-30 03:27:04 +0000 |
commit | e77b7d147cd03c4e7d7835993317150428b083ca (patch) | |
tree | ea1d2781b5fb7ad12131a604cb1d127e405382d9 /helix-term/src | |
parent | 8a4fbf6daf980b08de83e936c4a2b4bf8beaa2d4 (diff) |
fix: Recalculate completion after pasting into prompt
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/ui/prompt.rs | 1 |
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, |