config: finalize v0.4.0 config surface #139

Closed
opened 2026-09-21 18:12:29 +00:00 by barrettruth · 0 comments
Owner

Original issue: barrettruth/diffs.nvim#313
Original author: barrettruth
Original date: 2026-05-11T20:11:31Z

Tracks

Config migration for the v0.4.0 fresh-start release.

Tracked By

Depends On

  • #262 for the final view.bar shape

Target Shape

vim.g.diffs = {
  view = {
    bar = true,
    numbers = true,
    prefix = true,
  },
  integrations = {
    fugitive = true,
  },
  conflict = {
    enabled = true,
    priority = 200,
    keymaps = false,
  },
}

v0.3.3 Migration Release

Accept old config, normalize to the new shape where there is a real equivalent, and warn once with removal targeted at 0.4.0.

Migration work:

  • hide_prefix -> view.prefix = false
  • integrations.fugitive.horizontal / .vertical -> fixed du / dU
  • warn on highlights.gutter; replace the user-facing idea with view.bar / view.numbers
  • remove/warn on old conflict display options that no longer fit the final surface
  • warn on :Gdiff ++novertical -> :Ghdiff

v0.4.0 Removal Release

Remove deprecated config support and document only the final config surface. Keep in-view diffs:// mappings fixed, keep highlight customization, and tighten conflict.keymaps validation.

> Original issue: barrettruth/diffs.nvim#313 > Original author: `barrettruth` > Original date: 2026-05-11T20:11:31Z ## Tracks Config migration for the v0.4.0 fresh-start release. ## Tracked By - #256 ## Depends On - #262 for the final `view.bar` shape ## Target Shape ```lua vim.g.diffs = { view = { bar = true, numbers = true, prefix = true, }, integrations = { fugitive = true, }, conflict = { enabled = true, priority = 200, keymaps = false, }, } ``` ## v0.3.3 Migration Release Accept old config, normalize to the new shape where there is a real equivalent, and warn once with removal targeted at `0.4.0`. Migration work: - `hide_prefix` -> `view.prefix = false` - `integrations.fugitive.horizontal` / `.vertical` -> fixed `du` / `dU` - warn on `highlights.gutter`; replace the user-facing idea with `view.bar` / `view.numbers` - remove/warn on old conflict display options that no longer fit the final surface - warn on `:Gdiff ++novertical` -> `:Ghdiff` ## v0.4.0 Removal Release Remove deprecated config support and document only the final config surface. Keep in-view `diffs://` mappings fixed, keep highlight customization, and tighten `conflict.keymaps` validation.
barrettruth 2026-09-21 18:12:29 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
barrettruth/diffs.nvim#139
No description provided.