aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--projectile.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/projectile.el b/projectile.el
index 6c5306b..925fbc0 100644
--- a/projectile.el
+++ b/projectile.el
@@ -1986,7 +1986,11 @@ A pre-computed list of IGNORED-FILES may optionally be provided."
(seq-some
(lambda (name)
(string-match-p name file))
- projectile-global-ignore-file-patterns)))
+ projectile-global-ignore-file-patterns)
+ (seq-some
+ (lambda (suffix)
+ (string-suffix-p suffix file t))
+ projectile-globally-ignored-file-suffixes)))
(defun projectile-check-pattern-p (file pattern)
"Check if FILE matches globbing PATTERN."