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

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

[elpa] externals/eglot 835aa0e9b3 06/33: Per #697, #645: Hard code an ex


From: Stefan Kangas
Subject: [elpa] externals/eglot 835aa0e9b3 06/33: Per #697, #645: Hard code an exception to "node_modules" directores
Date: Sat, 8 Jan 2022 12:30:48 -0500 (EST)

branch: externals/eglot
commit 835aa0e9b351e371be82f0661e438b13e641a5eb
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Per #697, #645: Hard code an exception to "node_modules" directores
    
    * eglot.el (eglot--directories-recursively): Fix.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 706fa92522..4c47ad004b 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2884,7 +2884,7 @@ If NOERROR, return predicate, else erroring function."
         (cl-loop with default-directory = dir
                  with completion-regexp-list = '("^[^.]")
                  for f in (file-name-all-completions "" dir)
-                 if (file-directory-p f)
+                 if (and (file-directory-p f) (not (string= "node_modules/" 
f)))
                  append (eglot--directories-recursively f))))
 
 



reply via email to

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