Merge pull request #3377 from wedens/fd-ignore-dirs
Make `fd` respect `projectile-globally-ignored-directories`
This commit is contained in:
commit
64de099aad
1 changed files with 3 additions and 0 deletions
|
@ -138,6 +138,9 @@ c) are not valid projectile projects."
|
|||
(setq projectile-generic-command
|
||||
(concat (format "%s . -0 -H -E .git --color=never --type file --type symlink --follow"
|
||||
doom-projectile-fd-binary)
|
||||
(cl-loop for dir in projectile-globally-ignored-directories
|
||||
concat " -E "
|
||||
concat (shell-quote-argument dir))
|
||||
(if IS-WINDOWS " --path-separator=//"))
|
||||
projectile-git-command projectile-generic-command
|
||||
projectile-git-submodule-command nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue