spacemacs layer: set projectile-indexing-method to alien

Which effectively set it to alien on Windows
GNU find or Cygwin find must be in path for project outside of
supported VCS (i.e. project with a .projectile file)
This commit is contained in:
syl20bnr 2015-08-12 12:18:49 -04:00
parent afbd850177
commit 1a2dfa3309

View file

@ -3211,11 +3211,18 @@ one of `l' or `r'."
projectile-vc)
:init
(progn
(setq-default projectile-enable-caching t)
(setq projectile-sort-order 'recentf)
(setq projectile-cache-file (concat spacemacs-cache-directory
"projectile.cache"))
(setq projectile-known-projects-file (concat spacemacs-cache-directory
(setq projectile-enable-caching t
projectile-indexing-method 'alien
;; note for Windows: GNU find or Cygwin find must be in path
;; default parameters are not supported on Windows, we default
;; to simplest call to find.
projectile-generic-command (if (system-is-mswindows)
"find . -type f"
projectile-generic-command)
projectile-sort-order 'recentf
projectile-cache-file (concat spacemacs-cache-directory
"projectile.cache")
projectile-known-projects-file (concat spacemacs-cache-directory
"projectile-bookmarks.eld"))
(unless (configuration-layer/package-usedp 'helm-projectile)
(evil-leader/set-key