Fixes #51 Projectile cache remains empty

I had to explicitly enable projectile-enable-caching and explicitly
start projectile-mode to initialize projectile-projects-cache
This commit is contained in:
syl20bnr 2014-10-29 23:29:14 -04:00
parent 6eb523c324
commit 09f1a36129

View file

@ -1568,9 +1568,13 @@ DELETE-FUNC when calling CALLBACK.
(defun spacemacs/init-projectile ()
(use-package projectile
:defer t
:init (evil-leader/set-key "pp" 'projectile-commander)
:init
(progn
(setq-default projectile-enable-caching t)
(evil-leader/set-key "pp" 'projectile-commander))
:config
(progn
(projectile-global-mode)
(def-projectile-commander-method ?F
"Find file in project using helm."
(helm-projectile))