summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el
index e46888a..c1a0124 100644
--- a/init.el
+++ b/init.el
@@ -739,7 +739,8 @@
(defun km/projectile-ignore-directory-p (name)
(or (file-remote-p name)
- (string-prefix-p "/tmp/" name)))
+ (string-prefix-p "/tmp/" name)
+ (string-prefix-p "/gnu/store/" name)))
(setq projectile-ignored-project-function #'km/projectile-ignore-directory-p)
(projectile-register-project-type 'snakemake