From 63c0150cc24430838e97affd1bcfa59bb350f90b Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Mon, 10 Feb 2025 13:39:03 -0700 Subject: [PATCH] Fix handling of holding modifier to show edit prediction (#24580) Meant to include this in #24442 Release Notes: - N/A --- crates/editor/src/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index bdf1fd905686049ac33ab68c28edb202de20ee6d..6d1ed150156757dd13c3657a15a40e81e1180123 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -5102,7 +5102,7 @@ impl Editor { window: &mut Window, cx: &mut Context, ) { - if !self.show_edit_predictions_in_menu(cx) { + if self.show_edit_predictions_in_menu(cx) { let accept_binding = AcceptEditPredictionBinding::resolve(self.focus_handle(cx), window); if let Some(accept_keystroke) = accept_binding.keystroke() {