Initialize projectile variables before loading projectile

Fixes #236
This commit is contained in:
Henrik Lissner 2017-10-08 13:09:57 +02:00
parent 934756700d
commit 8fc1c46dca
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -6,8 +6,7 @@ state are passed in.")
(def-package! projectile
:demand t
:init (add-hook 'doom-init-hook #'projectile-mode)
:config
:init
(setq projectile-cache-file (concat doom-cache-dir "projectile.cache")
projectile-enable-caching (not noninteractive)
projectile-indexing-method 'alien
@ -16,6 +15,8 @@ state are passed in.")
projectile-globally-ignored-files '(".DS_Store" "Icon " "TAGS")
projectile-globally-ignored-file-suffixes '(".elc" ".pyc" ".o"))
(add-hook 'doom-init-hook #'projectile-mode)
:config
;; a more generic project root file
(push ".project" projectile-project-root-files-bottom-up)