fix(ivy): include hidden files in counsel-file-jump

fd was omitted ignored/hidden files, which is inconsistent with
ripgrep's output (when fd is absent).

Ref: https://www.reddit.com/r/emacs/comments/tj0na6/comment/i1laya6/?utm_source=reddit&utm_medium=web2x&context=3
This commit is contained in:
Henrik Lissner 2022-03-22 02:09:30 +01:00
parent 28a929663b
commit 385e60cd26
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -287,7 +287,7 @@ results buffer.")
:override #'counsel--find-return-list
(cl-destructuring-bind (find-program . args)
(cond ((when-let (fd (executable-find (or doom-projectile-fd-binary "fd") t))
(append (list fd "-H" "--color=never" "--type" "file" "--type" "symlink" "--follow")
(append (list fd "-H" "-I" "--color=never" "--type" "file" "--type" "symlink" "--follow")
(if IS-WINDOWS '("--path-separator=/")))))
((executable-find "rg" t)
(append (list "rg" "--files" "--follow" "--color=never" "--hidden" "-g!.git" "--no-messages")