mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
parent
6b6565e658
commit
328452afcc
@ -83,7 +83,7 @@ function Finder:start(datetime)
|
|||||||
if config.workspace_scan_cmd ~= "LUA" and self.need_scan_dir then
|
if config.workspace_scan_cmd ~= "LUA" and self.need_scan_dir then
|
||||||
---@type string[][]
|
---@type string[][]
|
||||||
local cmds = config.workspace_scan_cmd and { config.workspace_scan_cmd }
|
local cmds = config.workspace_scan_cmd and { config.workspace_scan_cmd }
|
||||||
or { { "rg", "-.g", "!.git", "--files" }, { "fdfind", "-Htf" }, { "fd", "-Htf" } }
|
or { { "fdfind", "-Htf" }, { "fd", "-Htf" }, { "rg", "-.g", "!.git", "--files" } }
|
||||||
for _, c in ipairs(cmds) do
|
for _, c in ipairs(cmds) do
|
||||||
ok = self:scan_dir_cmd(c)
|
ok = self:scan_dir_cmd(c)
|
||||||
if ok then
|
if ok then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user