From 3d9f70946c12b88373c56c7452a7dfdcba3cae8e Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Mon, 10 Feb 2025 18:12:46 -0700 Subject: [PATCH] Use last keybind (highest precedence) for `AcceptEditPrediction` display (#24595) Fix of PR #24582 Release Notes: - N/A --- crates/editor/src/editor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 233ac8bf7f..5ae3c82dbf 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -1574,6 +1574,7 @@ impl Editor { window .bindings_for_action_in_context(&AcceptEditPrediction, context) .into_iter() + .rev() .next(), ) }