mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-22 08:30:11 +01:00
7d22059a2f
We modified few actions in https://github.com/zed-industries/zed/pull/25846, which are: `"editor::GoToHunk" -> ["editor::GoToHunk", { "center_cursor": true }]` `"editor::GoToPrevHunk" -> ["editor::GoToPrevHunk", { "center_cursor": true }]` Also, recently we changed and added migration for: `["editor::GoToPrevHunk", { "center_cursor": true }] -> ["editor::GoToPreviousHunk", { "center_cursor": true }] ` This means: 1. User that might still have `editor::GoToHunk` won't be automatically migrated to `["editor::GoToHunk", { "center_cursor": true }]`. Note value of `center_cursor` is false, in first case (default), and true in second case. 2. User that might still have `editor::GoToPrevHunk` won't be automatically migrated to `["editor::GoToPreviousHunk", { "center_cursor": true }]`. Note, `editor::GoToPrevHunk` is renamed since, it is now invalid action. This PR adds those migrations. cc: @marcospb19 Release Notes: - N/A