From 659eda8ee7159f70ceef278060e9acd52ed01c6a Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 15 Feb 2026 17:09:31 +0200 Subject: Check globally-ignored-file-suffixes in native indexing Fixes #1959 projectile-ignored-file-p now checks projectile-globally-ignored-file-suffixes in addition to projectile-globally-ignored-files and file patterns. Previously the suffix check only happened in projectile-remove-ignored which is used by hybrid indexing but not native indexing. --- projectile.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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." -- cgit v1.0