Skip to content

Commit cd729cd

Browse files
committed
fix(files): revert fa5afad (PR #2177)
1 parent 9a01575 commit cd729cd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ previewers = {
794794
-- cmd = "rg --files",
795795
find_opts = [[-type f \! -path '*/.git/*']],
796796
rg_opts = [[--color=never --hidden --files -g "!.git"]],
797-
fd_opts = [[--color=never --hidden --type f --type l --exclude .git --no-require-git]],
797+
fd_opts = [[--color=never --hidden --type f --type l --exclude .git]],
798798
dir_opts = [[/s/b/a:-d]],
799799
-- by default, cwd appears in the header only if {opts} contain a cwd
800800
-- parameter to a different folder than the current working directory

doc/fzf-lua.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ CUSTOMIZATION *fzf-lua-customization*
765765
-- cmd = "rg --files",
766766
find_opts = [[-type f \! -path '*/.git/*']],
767767
rg_opts = [[--color=never --hidden --files -g "!.git"]],
768-
fd_opts = [[--color=never --hidden --type f --type l --exclude .git --no-require-git]],
768+
fd_opts = [[--color=never --hidden --type f --type l --exclude .git]],
769769
dir_opts = [[/s/b/a:-d]],
770770
-- by default, cwd appears in the header only if {opts} contain a cwd
771771
-- parameter to a different folder than the current working directory

lua/fzf-lua/defaults.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ M.defaults.files = {
350350
"git", "-c", "color.status=false", "--no-optional-locks", "status", "--porcelain=v1" },
351351
find_opts = [[-type f \! -path '*/.git/*']],
352352
rg_opts = [[--color=never --files -g "!.git"]],
353-
fd_opts = [[--color=never --type f --type l --exclude .git --no-require-git]],
353+
fd_opts = [[--color=never --type f --type l --exclude .git]],
354354
dir_opts = [[/s/b/a:-d]],
355355
hidden = true,
356356
toggle_ignore_flag = "--no-ignore",

0 commit comments

Comments
 (0)