forked from Neptune/mirror.kickstart.nvim
-
v1.28.1 — Gravity Sync Merge UI Fixes
StableAll checks were successfulCI / json-check (push) Successful in 9sCI / manifest (push) Successful in 7sCI / security (push) Successful in 9sPublish / detect-release (push) Successful in 6sCI / lua-check (push) Successful in 12sCI / sast (push) Successful in 17sPublish / tag (push) Successful in 8sPublish / promote-release (push) Successful in 2sreleased this
2026-03-16 08:21:47 +00:00 | 97 commits to master since this releaseWhat's Changed
Bug Fixes
- Fix hunk acceptance persistence — Change detection now compares against hashes recorded at resolution time, preventing auto-sync from overwriting merge results on next VimEnter (OP#2249)
- Fix trailing newline handling — Check both source and system files for trailing newlines in merge resolve, preventing hash mismatches after "Accept All Left" (OP#2249)
- Normalize trailing newlines — Strip trailing newlines from both buffers on load to prevent phantom hunks that can't be resolved visually (OP#2249)
Features
- Clarify diff preview labels — Rename buffers to
gravity://repo/andgravity://local/, update picker descriptions to "repo changed" / "local changed", add legend to diff preview (OP#2250) - Accept-local-and-create-override action — New save menu option writes local content to
configs.overrides/to prevent recurring diffs for intentional local divergence (OP#2251) - Inline help — Press
?in merge view for a floating help window with all keybindings (OP#2252) - Hunk navigation with counter — JetBrains-style hunk counter in statusline,
n/pkeys to navigate, auto-jump to first hunk on open (OP#2278) - Per-hunk accept with
<and>—<accepts repo version (diffget),>keeps local version (diffput), both resolve the hunk and advance (OP#2279) - Save menu with local/repo/override options — Enter opens a menu: save locally, save + update repo file (with optional automated release agent), or save + create override (OP#2280)
Tests
- 6 new test cases covering merge persistence (partial merge, keep right, external changes) and override creation (OP#2256)
- All 20 tests passing
Tasks
- OP#2249: Fix hunk acceptance persistence in merge view
- OP#2250: Clarify diff preview labels: repo vs local
- OP#2251: Add accept-local-and-create-override action in merge view
- OP#2252: Add inline help to merge view
- OP#2256: Test gravity sync merge UI fixes
- OP#2278: Hunk navigation with counter and persistent status bar
- OP#2279: Per-hunk accept with < and > directional keys
- OP#2280: Save menu with local/repo/override options and automated release
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads