Skip to content

feat(file-diff): default :DiffviewDiffFiles to side-by-side layout#71

Merged
dlyongemallo merged 1 commit intomainfrom
default_diff_files_to_side_by_side
Mar 31, 2026
Merged

feat(file-diff): default :DiffviewDiffFiles to side-by-side layout#71
dlyongemallo merged 1 commit intomainfrom
default_diff_files_to_side_by_side

Conversation

@dlyongemallo
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 30, 2026 16:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates :DiffviewDiffFiles (the arbitrary two-file diff view) to open in a side-by-side 2-way layout by default, aligning with the most common comparison workflow.

Changes:

  • Default FileDiffView’s entry layout to Diff2Hor (side-by-side via vertical splits).
  • Update inline comment to reflect the new default behavior and layout cycling hint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lua/diffview/scene/views/diff/file_diff_view.lua
@dlyongemallo dlyongemallo force-pushed the default_diff_files_to_side_by_side branch from cc58ef6 to 94238dd Compare March 31, 2026 08:01
@dlyongemallo dlyongemallo merged commit 58d4eba into main Mar 31, 2026
@dlyongemallo dlyongemallo deleted the default_diff_files_to_side_by_side branch March 31, 2026 10:46
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.

2 participants