nvim
This commit is contained in:
parent
a63350d437
commit
b5548d3690
1 changed files with 2 additions and 2 deletions
|
@ -24,13 +24,13 @@ local function project()
|
|||
}
|
||||
|
||||
local find_command = nil
|
||||
if FD_EXISTS then
|
||||
if FD_EXISTS == 1 then
|
||||
find_command = { "fd", "--hidden", "-t", "f" }
|
||||
for _, value in ipairs(exclusions) do
|
||||
table.insert(find_command, "--exclude")
|
||||
table.insert(find_command, value)
|
||||
end
|
||||
elseif RIPGREP_EXISTS then
|
||||
elseif RIPGREP_EXISTS == 1 then
|
||||
find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue