mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
fix(util.telescope): make show_untracked
configurable (#2789)
This commit is contained in:
parent
642bcf168b
commit
1661759d33
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ function M.telescope(builtin, opts)
|
|||
and not vim.loop.fs_stat((opts.cwd or vim.loop.cwd()) .. "/.ignore")
|
||||
and not vim.loop.fs_stat((opts.cwd or vim.loop.cwd()) .. "/.rgignore")
|
||||
then
|
||||
if opts.show_untracked == nil then
|
||||
opts.show_untracked = true
|
||||
end
|
||||
builtin = "git_files"
|
||||
else
|
||||
builtin = "find_files"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue