feat(config): add options visual appearance options#80
Conversation
There was a problem hiding this comment.
Pull request overview
Adds new configuration knobs to tune Diffview’s UI styling/visual noise, aligning the fork’s appearance closer to the original sindrets/diffview.nvim expectations (Issue #70).
Changes:
- Add
file_panel.tree_options.folder_count_styleandfile_panel.tree_options.folder_trailing_slashto control collapsed-folder counts and folder name formatting. - Add
file_history_panel.subject_highlightto control ref-aware vs plain commit subject highlighting. - Document the new options in
doc/diffview.txtanddoc/diffview_defaults.txt.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| lua/diffview/scene/views/file_history/render.lua | Gates commit subject highlight behavior behind new subject_highlight option. |
| lua/diffview/scene/views/diff/render.lua | Adds new tree rendering options for folder trailing slash and count style. |
| lua/diffview/config.lua | Introduces new default config values for the added UI options. |
| doc/diffview.txt | Documents the new configuration options. |
| doc/diffview_defaults.txt | Updates the default-config documentation output with the new options. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8392730 to
60a196e
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
60a196e to
7d40e20
Compare
7d40e20 to
28cf223
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Relates to #70.