diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index bdacf0be380d666cf35156e9900676877bc0c1a3..1a17f38f92a41556e4e4e7a71eedf69c8f9d70c9 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -3596,7 +3596,6 @@ impl Editor { let menu = menu.unwrap(); *context_menu = Some(ContextMenu::Completions(menu)); drop(context_menu); - this.completion_tasks.clear(); this.discard_copilot_suggestion(cx); cx.notify(); } else if this.completion_tasks.is_empty() {