Skip to content

revert(render): gate folder icons on use_icons#128

Merged
dlyongemallo merged 1 commit intomainfrom
fix_use_icons_folders
Apr 20, 2026
Merged

revert(render): gate folder icons on use_icons#128
dlyongemallo merged 1 commit intomainfrom
fix_use_icons_folders

Conversation

@dlyongemallo
Copy link
Copy Markdown
Owner

Closes #125.

Reverts a07ce58 which led to behaviour which surprised users.
Copilot AI review requested due to automatic review settings April 20, 2026 08:05
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

Adjusts Diffview’s file panel tree rendering so folder icons respect the use_icons option, aligning behavior with the option name and resolving the inconsistency reported in #125.

Changes:

  • Gate folder icon rendering in the file tree on conf.use_icons.

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

Comment thread lua/diffview/scene/views/diff/render.lua
Comment thread lua/diffview/scene/views/diff/render.lua
@dlyongemallo dlyongemallo merged commit a979c4e into main Apr 20, 2026
6 checks passed
@dlyongemallo dlyongemallo deleted the fix_use_icons_folders branch April 20, 2026 08:25
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.

use_icons option and folder icon behaviour are inconsistent

2 participants