Change folder browser to respect depth #420
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I think the folder browser should respect the depth option. I'm currently trying to build a project selector in my nvim, and I need the folder browser to respect the depth if my project select is going to be useful.
Also the closer the two are to feature parity, the more it makes sense for them to be configurations of the same action. The more differences there are, the more confusing it can be when you expect configuration options to be respected. The only real differences in the search should be that one filters out files and defaults to the cwd.
Yes, I could override the search function, but I think this makes more sense from a users perspective