diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-04-17 09:06:54 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-04-17 09:06:54 -0700 |
commit | 672a702e85b828d3fa9a9c8af7e0b927746a03f5 (patch) | |
tree | 9a7ec5b72ddaf0a0107ff4db308d1460eac66a1e /emacs.d/modules | |
parent | [emacs] Add hydra for magit. (diff) | |
download | emacs.d-672a702e85b828d3fa9a9c8af7e0b927746a03f5.tar.gz |
[emacs] Add a custom variable for the files ignored by projectile.
Diffstat (limited to 'emacs.d/modules')
-rw-r--r-- | emacs.d/modules/module-project.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs.d/modules/module-project.el b/emacs.d/modules/module-project.el index bc0bdf9..cb11e0d 100644 --- a/emacs.d/modules/module-project.el +++ b/emacs.d/modules/module-project.el @@ -56,8 +56,11 @@ _s-f_: file _a_: ag _i_: Ibuffer _c_: cache projectile-enable-caching t projectile-completion-system 'ivy projectile-known-projects-file (expand-file-name "var/projectile-bookmarks.eld" user-emacs-directory) - projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory)) - (add-to-list 'projectile-globally-ignored-files ".DS_Store")) + projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory) + projectile-globally-ignored-directories (append fcuny-projects-ignored-dirs + projectile-globally-ignored-directories) + projectile-globally-ignored-files (append fcuny-projects-ignored-files + projectile-globally-ignored-files))) (use-package ag :commands (counsel-ag ag) |