Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Whooooops

Julia1c3ecc4ad242
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index bdacf0be380..1a17f38f92a 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() {