Use last keybind (highest precedence) for `AcceptEditPrediction` display (#24595)

Michael Sloan created

Fix of PR #24582

Release Notes:

- N/A

Change summary

crates/editor/src/editor.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/editor/src/editor.rs 🔗

@@ -1574,6 +1574,7 @@ impl Editor {
             window
                 .bindings_for_action_in_context(&AcceptEditPrediction, context)
                 .into_iter()
+                .rev()
                 .next(),
         )
     }