[stacked] Add single side-aware rail rendering #156
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
barrettruth/diffs.nvim#156
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #358.
Goal
Add an internal single side-aware generated rail style while preserving current dual old/new rails by default.
Scope
rails.annotate()with an internalrail_style = 'dual'|'single'option.dualas the default and preserve existing output exactly.RailInfo.style.view.rail_separatorbehavior, including empty string support.Non-goals
++layout=stackedinto commands yet.Acceptance criteria
rails.annotate(lines, { rail_style = 'single' })produces a narrower single side-aware rail.rails.strip()andrails.strip_lines()recover raw unified diff text from single-rail display lines.