Skip Navigation

Is there a way, with nvim-tree, to collapse nested folders?

Basically title, i.e. in Java projects with like com/app/name/main, is there a way with nvim-tree to just show that as one level, instead of several levels?

1