Skip to content

Commit

Permalink
Per #697, #645: Hard code an exception to "node_modules" directores
Browse files Browse the repository at this point in the history
* eglot.el (eglot--directories-recursively): Fix.
  • Loading branch information
joaotavora committed May 26, 2021
1 parent 25d20c7 commit 835aa0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))


Expand Down

0 comments on commit 835aa0e

Please sign in to comment.