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 Orual
parent 7ada5cd48d
commit d1e69ed9dc
No known key found for this signature in database

View file

@ -242,22 +242,22 @@ static STRING_REPLACE: LazyLock<HashMap<&str, &str>> = LazyLock::new(|| {
"inline_completion::ToggleMenu", "inline_completion::ToggleMenu",
"edit_prediction::ToggleMenu", "edit_prediction::ToggleMenu",
), ),
("editor::NextEditPrediction", "editor::NextEditPrediction"), ("editor::NextInlineCompletion", "editor::NextEditPrediction"),
( (
"editor::PreviousEditPrediction", "editor::PreviousInlineCompletion",
"editor::PreviousEditPrediction", "editor::PreviousEditPrediction",
), ),
( (
"editor::AcceptPartialEditPrediction", "editor::AcceptPartialInlineCompletion",
"editor::AcceptPartialEditPrediction", "editor::AcceptPartialEditPrediction",
), ),
("editor::ShowEditPrediction", "editor::ShowEditPrediction"), ("editor::ShowInlineCompletion", "editor::ShowEditPrediction"),
( (
"editor::AcceptEditPrediction", "editor::AcceptInlineCompletion",
"editor::AcceptEditPrediction", "editor::AcceptEditPrediction",
), ),
( (
"editor::ToggleEditPredictions", "editor::ToggleInlineCompletions",
"editor::ToggleEditPrediction", "editor::ToggleEditPrediction",
), ),
]) ])