mirror of https://github.com/helix-editor/helix
fix: Recalculate completion after pasting into prompt
parent
8a4fbf6daf
commit
e77b7d147c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue