Infinite recursion in lsp--all-watchable-directories
in case of symlink loop
#4597
Open
3 tasks done
Labels
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
When opening a file in a project that contains a symlink to a parent directory, LSP initialization fails with an
(excessive-lisp-nesting 1601)
error.Steps to reproduce
Create a tiny project with a symlink to a parent dir and try to open any file.
Ex.:
If the
testdata/bomb -> ..
symlink is not there,lsp-mode
works when editingmain.go
.But if the symlink is there,
lsp-mode
doesn’t work when editingmain.go
.Expected behavior
lsp-mode
starts without any issue and is fully functional.Which Language Server did you use?
gopls
OS
Linux
Error callstack
Anything else?
No response
The text was updated successfully, but these errors were encountered: