Closed
Description
The git and diagnostics views both have a setting show_on_dirs
which makes parent folders display the same icon as the file. This is extremely helpful when they're collapsed I.e. if there is an error in /first/second/third.lua
and the tree is collapsed, there will be an error icon next to first
, indicating that there's a problem in one of its children. However, if both first
and second
are expanded, the icon is displayed on both parents as well as the file. As a visual cue, it exaggerates the number of "things", particularly when the tree expands far enough that they're not all visible at the same time.
Describe the solution you'd like
It would be really nice to have an option to display the icon only on the lowest visible leaf. E.g.
- if
first
is collapsed, display it onfirst
- if first is expanded but
second
is collapsed, display it onsecond
- if all are expanded, display it on
third.lua