-
-
Notifications
You must be signed in to change notification settings - Fork 625
fix(#1480): break symlink cycle on find-file, search-node #1482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@archiif your testing would be gratefully appreciated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this change means that nvim-tree will not find file in symlink directories ? I think we should only prevent looping indefinitely right ?
I recall that it did. I'll re-test on the weekend. |
Thanks a lot for this PR! I did a quick test and it fixed my issue. |
|
Still testing... |
It is not finding files in symlink directories outside cwd. Reworked as a simple cycle detector as per search-node. |
…vim-tree#1482) * fix(nvim-tree#1480): break symlink cycle on find-file * fix(nvim-tree#1480): break symlink cycle on search-node * fix(nvim-tree#1480): break symlink cycle on search-node * fix(nvim-tree#1480): break symlink cycle on find-file
closes #1480
S
expand-all is OK as it stops after
max_folder_discovery
, however it does follow cycles. We should look at that if time permits.