Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cljoly committed Sep 1, 2024
1 parent 58f9363 commit e86214f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lua/telescope/_extensions/repo/list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ M.prepare_command = function(opts)
-- .git file in them.
local find_repo_opts = { "--prune", "--hidden", "--no-ignore-vcs", "--case-sensitive", "--absolute-path" }
local find_user_opts = opts.fd_opts or {}
local find_exec_opts = opts.fd_exec_opts or (function()
if vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1 then
return { "--exec", "powershell", [[echo {//}]], ";" }
else
return { "--exec", "echo", [[{//}]], ";" }
end
end)()
local find_exec_opts = opts.fd_exec_opts
or (function()
if vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1 then
return { "--exec", "powershell", [[echo {//}]], ";" }
else
return { "--exec", "echo", [[{//}]], ";" }
end
end)()

-- Expand '~'
local search_dirs = {}
Expand Down

0 comments on commit e86214f

Please sign in to comment.