Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Stop propagation when confirming a completion
Max Brunsfeld739d1179e3fd
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex d716284efbc..55090d75d95 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -3188,6 +3188,7 @@ impl Editor {let buffer_handle = completions_menu.buffer;let completions = completions_menu.completions.read();let completion = completions.get(mat.candidate_id)?;+ cx.stop_propagation();let snippet;let text;