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.

Fix `InlineCompletion` -> `EditPrediction` keymap migration (#36457)

Michael Sloan1b6fd996f8bd
diff --git a/crates/migrator/src/migrations/m_2025_01_29/keymap.rs b/crates/migrator/src/migrations/m_2025_01_29/keymap.rs
index 646af8f63dc..c32da88229b 100644
--- a/crates/migrator/src/migrations/m_2025_01_29/keymap.rs
+++ b/crates/migrator/src/migrations/m_2025_01_29/keymap.rs
@@ -242,22 +242,22 @@ static STRING_REPLACE: LazyLock<HashMap<&str, &str>> = LazyLock::new(|| {
"inline_completion::ToggleMenu",
"edit_prediction::ToggleMenu",
),
- ("editor::NextEditPrediction", "editor::NextEditPrediction"),
+ ("editor::NextInlineCompletion", "editor::NextEditPrediction"),
(
- "editor::PreviousEditPrediction",
+ "editor::PreviousInlineCompletion",
"editor::PreviousEditPrediction",
),
(
- "editor::AcceptPartialEditPrediction",
+ "editor::AcceptPartialInlineCompletion",
"editor::AcceptPartialEditPrediction",
),
- ("editor::ShowEditPrediction", "editor::ShowEditPrediction"),
+ ("editor::ShowInlineCompletion", "editor::ShowEditPrediction"),
(
- "editor::AcceptEditPrediction",
+ "editor::AcceptInlineCompletion",
"editor::AcceptEditPrediction",
),
(
- "editor::ToggleEditPredictions",
+ "editor::ToggleInlineCompletions",
"editor::ToggleEditPrediction",
),
])