Fix handling of holding modifier to show edit prediction (#24580)

Meant to include this in #24442

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-02-10 13:39:03 -07:00
committed by GitHub
parent 78a5cf0257
commit 63c0150cc2
+1 -1
View File
@@ -5102,7 +5102,7 @@ impl Editor {
window: &mut Window,
cx: &mut Context<Self>,
) {
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() {