Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix modifier key logic for edit predictions preview with completions (#24709)
Michael Sloanfc86e7cd511b
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 406f193817e..54e9533d7ea 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -5205,7 +5205,7 @@ impl Editor {return;};- if &accept_keystroke.modifiers == modifiers {+ if &accept_keystroke.modifiers == modifiers && accept_keystroke.modifiers.modified() {if matches!(self.edit_prediction_preview,EditPredictionPreview::Inactive