Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: folder_browser with more filetypes #73

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fdschmidt93
Copy link
Member

@fdschmidt93 fdschmidt93 commented Jan 17, 2022

This allows the following:

:lua require "telescope".extensions.file_browser.file_browser { types = {"file", "directory"}}

now makes the folder_browser show both files and directories (default: types = { "directory" }) and you can switch to the folder of a particular file.

I think the feature is actually ready to be merged, but I'm not so happy about the types opt. Either I come up with concise and clear names by {file, folder}_browser, respectively, or we will be needing some separation via tables or something. Sadge.

folder_browser_files.mp4

@windowsrefund
Copy link

This seems like it would be a great solution for #176.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants