fix: Recalculate completion after pasting into prompt
This commit is contained in:
parent
8a4fbf6daf
commit
e77b7d147c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue