Fix: core/projects: don't overwrite projectile-globally-ignored-directories
This commit is contained in:
parent
903f5b1a80
commit
10bae5a835
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,6 @@ state are passed in.")
|
|||
(setq projectile-cache-file (concat doom-cache-dir "projectile.cache")
|
||||
projectile-enable-caching (not noninteractive)
|
||||
projectile-file-exists-remote-cache-expire nil
|
||||
projectile-globally-ignored-directories `(,doom-local-dir ".sync")
|
||||
projectile-globally-ignored-file-suffixes '(".elc" ".pyc" ".o")
|
||||
projectile-globally-ignored-files '(".DS_Store" "Icon
")
|
||||
projectile-indexing-method 'alien
|
||||
|
@ -20,6 +19,10 @@ state are passed in.")
|
|||
'(".git" ".hg" ".svn" ".project" "package.json" "setup.py" "Gemfile"
|
||||
"build.gradle"))
|
||||
|
||||
(after! projectile
|
||||
(mapc (lambda (dir) (cl-pushnew dir projectile-globally-ignored-directories))
|
||||
`(,doom-local-dir ".sync")))
|
||||
|
||||
:config
|
||||
(add-hook 'doom-init-hook #'projectile-mode)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue