Skip to content

fix(#1961): cycle detection on find file refresh, fix regex pattern matching on paths, do not refresh if the node is present #2010

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

Merged
merged 3 commits into from
Feb 20, 2023

Conversation

alex-courtis
Copy link
Member

@alex-courtis alex-courtis commented Feb 18, 2023

fixes #1961

Second attempt.

Direct fixes:

  • avoid cycles for real and linked paths
  • match paths with regex magic characters

Opportunistic fixes:

  • find file does not refresh if the file is present in the tree

…atching on paths, do not refresh if the node is present
@alex-courtis alex-courtis merged commit 9c97e64 into master Feb 20, 2023
@alex-courtis alex-courtis deleted the 1961-cycle-detection-on-refresh-2 branch February 20, 2023 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nvim freezes by inifinite loop of nvim-tree when working on C:\Users\{username}\AppData\Local
1 participant