aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/projectile.el b/projectile.el
index d70dffb..0936421 100644
--- a/projectile.el
+++ b/projectile.el
@@ -2005,7 +2005,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."