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

Fix of PR #24582

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-02-10 18:12:46 -07:00 committed by GitHub
parent 7fe331f83d
commit 3d9f70946c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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