-
-
Notifications
You must be signed in to change notification settings - Fork 855
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
The git_files
picker falls back to find_files
when outside of a git repository
#1342
The git_files
picker falls back to find_files
when outside of a git repository
#1342
Conversation
---@field find_files_fallback boolean: if true, the find_files picker is run instead when the picker is used | ||
-- outside of a git repository (default: true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the docs be split this way?
I think we shouldnt do this. No other builtin references another builtin. Doing this here makes it less self contained. The solution presented is less elegant than what users can do in a simple function. |
Hi, |
I still dont like it. I think it doesnt fit with potential plans of a modular telescope: #1228 |
Ok, closing. |
Optionally can be disabled with the
find_files_fallback
option. Continuation of the discussion in #1338.This makes https://github.com/nvim-telescope/telescope.nvim/wiki/Configuration-Recipes#falling-back-to-find_files-if-git_files-cant-find-a-git-directory obsolete