Skip to content

feat(explorer): support explorer.position = "right"#431

Open
YaakovEidelman wants to merge 1 commit into
esmuellert:mainfrom
YaakovEidelman:feat/explorer-position-right
Open

feat(explorer): support explorer.position = "right"#431
YaakovEidelman wants to merge 1 commit into
esmuellert:mainfrom
YaakovEidelman:feat/explorer-position-right

Conversation

@YaakovEidelman

Copy link
Copy Markdown

Summary

Adds explorer.position = "right", placing the file explorer on the right of the
diff view ([ original | modified | explorer ]).

Closes #430

Changes

  • ui/layout.lua: arrange() now pins width for left/right and height for bottom (was left vs. else).
  • config.lua + README.md: document the new "right" value.
  • tests/ui/layout_spec.lua: adds "Case 2b" verifying the right panel gets its configured width and diff panes stay equal.

Testing

layout_spec.lua passes including the new case. Split already supported right; this teaches the layout manager to size it as a vertical panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: support explorer.position = "right"

1 participant