fix(migrate): preserve non-default oil settings #328

Merged
barrettruth merged 1 commit from fix/326-migrate-gaps into main 2026-04-27 18:42:31 +00:00
barrettruth commented 2026-04-27 18:41:03 +00:00

Why: :Oil --migrate was silently dropping or broadening several non-default Oil settings, which made the generated vim.g.canola config drift from live behavior.

How: Teach lua/oil/migrate.lua to preserve representable sort, float, and keymap settings, and emit a Manual Review section for lossy translations instead of dropping them. Expand spec/migrate_spec.lua to lock down exact mappings and the printed migration output.

Why: `:Oil --migrate` was silently dropping or broadening several non-default Oil settings, which made the generated `vim.g.canola` config drift from live behavior. How: Teach `lua/oil/migrate.lua` to preserve representable sort, float, and keymap settings, and emit a `Manual Review` section for lossy translations instead of dropping them. Expand `spec/migrate_spec.lua` to lock down exact mappings and the printed migration output.
Sign in to join this conversation.
No description provided.