emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/projectile 9fad5b4954 1/2: Escape periods in "projectile-g


From: ELPA Syncer
Subject: [nongnu] elpa/projectile 9fad5b4954 1/2: Escape periods in "projectile-globally-ignored-directories"
Date: Tue, 29 Mar 2022 05:58:41 -0400 (EDT)

branch: elpa/projectile
commit 9fad5b4954091bf77ba99c1161069f58fc5e8e08
Author: Maxwell Trussell <maxwell.trussell@salesforce.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    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
---
 projectile.el | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/projectile.el b/projectile.el
index 37c5e9b942..cb5b58edd3 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.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]