aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--projectile.el41
2 files changed, 22 insertions, 20 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e46b86b..be12eb4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,7 @@
* [#1910](https://github.com/bbatsov/projectile/pull/1910): Reverts [#1895](https://github.com/bbatsov/projectile/pull/1895) as those changes appear to cause a significant performance regression across a number of use-cases.
* [#1915](https://github.com/bbatsov/projectile/pull/1915): Fix dotnet-sln project-type recognition. (check `*.sln` files instead of `src/`)
* [#1850](https://github.com/bbatsov/projectile/issues/1850): Ensure the presence of a project in `projectile-compilation-dir`.
+* [#1811](https://github.com/bbatsov/projectile/issues/1811): Revert a change to `projectile-ignored-directories` that had converted them into regular expressions.
## 2.8.0 (2023-10-13)
diff --git a/projectile.el b/projectile.el
index a2d8ee5..9e0a71d 100644
--- a/projectile.el
+++ b/projectile.el
@@ -408,27 +408,28 @@ is set to `alien'."
:type '(repeat string))
(defcustom projectile-globally-ignored-directories
- '("^\\.idea$"
- "^\\.vscode$"
- "^\\.ensime_cache$"
- "^\\.eunit$"
- "^\\.git$"
- "^\\.hg$"
- "^\\.fslckout$"
- "^_FOSSIL_$"
- "^\\.bzr$"
- "^_darcs$"
- "^\\.pijul$"
- "^\\.tox$"
- "^\\.svn$"
- "^\\.stack-work$"
- "^\\.ccls-cache$"
- "^\\.cache$"
- "^\\.clangd$"
- "^\\.sl$"
- "^\\.jj$")
+ '(".idea"
+ ".vscode"
+ ".ensime_cache"
+ ".eunit"
+ ".git"
+ ".hg"
+ ".fslckout"
+ "_FOSSIL_"
+ ".bzr"
+ "_darcs"
+ ".pijul"
+ ".tox"
+ ".svn"
+ ".stack-work"
+ ".ccls-cache"
+ ".cache"
+ ".clangd"
+ ".sl"
+ ".jj")
"A list of directories globally ignored by projectile.
-Regular expressions can be used.
+Those are simple strings that need to be escaped properly if used
+in a context that requires regular expressions.
Strings that don't start with * are only ignored at the top level
of the project. Strings that start with * are ignored everywhere