Skip to content

feat: folder_browser with more filetypes#73

Open
fdschmidt93 wants to merge 3 commits intomasterfrom
feat/folder-browser-opts
Open

feat: folder_browser with more filetypes#73
fdschmidt93 wants to merge 3 commits intomasterfrom
feat/folder-browser-opts

Conversation

@fdschmidt93
Copy link
Copy Markdown
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

@fdschmidt93 fdschmidt93 force-pushed the feat/folder-browser-opts branch from b77b97a to f42c3de Compare January 17, 2022 15:12
@windowsrefund
Copy link
Copy Markdown

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.

2 participants