aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
authorMaxwell Trussell <maxwell.trussell@salesforce.com>2022-03-13 13:41:40 -0700
committerBozhidar Batsov <bozhidar@batsov.dev>2022-03-29 11:37:01 +0200
commit9fad5b4954091bf77ba99c1161069f58fc5e8e08 (patch)
treea10a67f84a59896891853637aa1516504c9bcd14 /projectile.el
parent20df208385ce7b80207602c9931e31094eca85fb (diff)
Escape periods in "projectile-globally-ignored-directories"
The unescaped periods were causing unexpected directories to be ignored. E.g. for the following go project, the configitem directory was ignored because it matched the regex ".git": $ find pkg -type f pkg/metrics/argus.go pkg/secrets/secrets.go pkg/dynamo/dynamo.go pkg/utils/types.go pkg/utils/utils.go pkg/utils/errors.go pkg/configitem/configitem.go pkg/api/handlers.go pkg/api/middleware.go
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el30
1 files changed, 15 insertions, 15 deletions
diff --git a/projectile.el b/projectile.el
index 37c5e9b..cb5b58e 100644
--- a/projectile.el
+++ b/projectile.el
@@ -396,23 +396,23 @@ is set to 'alien'."
:type '(repeat string))
(defcustom projectile-globally-ignored-directories
- '(".idea"
- ".vscode"
- ".ensime_cache"
- ".eunit"
- ".git"
- ".hg"
- ".fslckout"
+ '("\\.idea"
+ "\\.vscode"
+ "\\.ensime_cache"
+ "\\.eunit"
+ "\\.git"
+ "\\.hg"
+ "\\.fslckout"
"_FOSSIL_"
- ".bzr"
+ "\\.bzr"
"_darcs"
- ".pijul"
- ".tox"
- ".svn"
- ".stack-work"
- ".ccls-cache"
- ".cache"
- ".clangd")
+ "\\.pijul"
+ "\\.tox"
+ "\\.svn"
+ "\\.stack-work"
+ "\\.ccls-cache"
+ "\\.cache"
+ "\\.clangd")
"A list of directories globally ignored by projectile.
Regular expressions can be used.