Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Michael Sloan3d9f70946c12
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 233ac8bf7f2..5ae3c82dbfa 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(),
)
}