diff options
| author | Bozhidar Batsov <bozhidar@batsov.dev> | 2025-01-30 08:38:36 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2025-01-30 08:38:36 +0200 |
| commit | 69af288a8bb529e445b05e58b751a77516288f2d (patch) | |
| tree | 93420e9745860579b5bafebc562115477693f4c1 /projectile.el | |
| parent | 6d55bd582004686e537be7bc1afb46c02064b9cd (diff) | |
[Fix #1811] Revert a change to `projectile-ignored-directories` that had converted them into regular expressions
The change broke several instances when the code didn't expect a regular expression.
This essentially reverts #1762.
Diffstat (limited to 'projectile.el')
| -rw-r--r-- | projectile.el | 41 |
1 files changed, 21 insertions, 20 deletions
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 |
