Minor refactors & reformatting

This commit is contained in:
Henrik Lissner
2020-07-23 01:04:04 -04:00
parent 86843d7569
commit da1030985d
9 changed files with 52 additions and 48 deletions

View File

@@ -26,6 +26,8 @@ debian, and derivatives). On most it's 'fd'.")
projectile-locate-dominating-file)
:init
(setq projectile-cache-file (concat doom-cache-dir "projectile.cache")
;; Auto-discovery is slow to do by default. Better to update the list
;; when you need to (`projectile-discover-projects-in-search-path').
projectile-auto-discover nil
projectile-enable-caching doom-interactive-p
projectile-globally-ignored-files '(".DS_Store" "Icon
@@ -165,8 +167,7 @@ And if it's a function, evaluate it."
;; program that is significantly faster than git ls-files or find, and
;; it respects .gitignore. This is recommended in the projectile docs.
(cond
((when-let
(bin (if (or (null default-directory)
((when-let
(bin (if (ignore-errors (file-remote-p default-directory nil t))
(cl-find-if find-exe-fn (list "fdfind" "fd"))
doom-projectile-fd-binary))