mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix: core/projects: don't overwrite projectile-globally-ignored-directories
This commit is contained in:
@ -10,7 +10,6 @@ state are passed in.")
|
|||||||
(setq projectile-cache-file (concat doom-cache-dir "projectile.cache")
|
(setq projectile-cache-file (concat doom-cache-dir "projectile.cache")
|
||||||
projectile-enable-caching (not noninteractive)
|
projectile-enable-caching (not noninteractive)
|
||||||
projectile-file-exists-remote-cache-expire nil
|
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-file-suffixes '(".elc" ".pyc" ".o")
|
||||||
projectile-globally-ignored-files '(".DS_Store" "Icon
|
projectile-globally-ignored-files '(".DS_Store" "Icon
|
||||||
")
|
")
|
||||||
@ -20,6 +19,10 @@ state are passed in.")
|
|||||||
projectile-project-root-files
|
projectile-project-root-files
|
||||||
'(".git" ".hg" ".svn" ".project" "package.json" "setup.py" "Gemfile"
|
'(".git" ".hg" ".svn" ".project" "package.json" "setup.py" "Gemfile"
|
||||||
"build.gradle"))
|
"build.gradle"))
|
||||||
|
|
||||||
|
(after! projectile
|
||||||
|
(mapc (lambda (dir) (cl-pushnew dir projectile-globally-ignored-directories))
|
||||||
|
`(,doom-local-dir ".sync")))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(add-hook 'doom-init-hook #'projectile-mode)
|
(add-hook 'doom-init-hook #'projectile-mode)
|
||||||
|
Reference in New Issue
Block a user