Is it possible to conjure a :filter that excludes all files?
:filter
Would like to display the tree view, but only with folders.
Yes, all directory entries have implicit trailing slash which can be used for searching or filtering. Try
:filter! {*/}
It does work, albeit with a little side-effect:
Could you think of a way to filter-out the .. as well?
..
You can't filter-out those, but you can prevent them from being added via 'dotdirs':
set dotdirs-=treeleafsparent