Fix InlineCompletion -> EditPrediction keymap migration (#36457)

Accidentally regressed this in #35512, causing this migration to not
work and an error log to appear when one of these actions is in the user
keymap

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-08-18 21:23:07 -06:00 committed by GitHub
parent 5004cb647b
commit 1b6fd996f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",
),
])