From 68cfb4eb78980745d2a60290b82ac8559660d7f7 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 2 Apr 2022 14:38:14 -0400 Subject: [PATCH] Don't ignore hidden files except for .git in consult-find --- emacs/.emacs.d/config/init-completion.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/.emacs.d/config/init-completion.el b/emacs/.emacs.d/config/init-completion.el index 428ceb7..99e997c 100644 --- a/emacs/.emacs.d/config/init-completion.el +++ b/emacs/.emacs.d/config/init-completion.el @@ -138,6 +138,7 @@ targets." xref-show-definitions-function #'consult-xref) :custom (consult-project-root-function #'projectile-project-root) + (consult-find-args "find . -not ( -wholename */.git/* -prune )") (consult-config '((consult-ripgrep :preview-key nil) (consult-grep :preview-key nil))) :general