mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
This commit is contained in:
parent
88f25410e0
commit
d6429a5c8a
1 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,10 @@ function M.open(command, opts)
|
|||
and not vim.uv.fs_stat(cwd .. "/.rgignore")
|
||||
then
|
||||
command = "git_files"
|
||||
opts.show_untracked = opts.show_untracked ~= false
|
||||
if opts.show_untracked == nil then
|
||||
opts.show_untracked = true
|
||||
opts.recurse_submodules = false
|
||||
end
|
||||
end
|
||||
end
|
||||
command = M.picker.commands[command] or command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue