Skip to content

Conversation

Akmadan23
Copy link
Collaborator

Not sure if this entirely fixes #2488, but at least the tree gets reloaded when cwd has been changed by another instance of nvim-tree.

Copy link
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely:

  • defaults - changes
  • sync_root_with_cwd - changes
  • respect_buf_cwd - no change

This may not fix the world but it's a great start.

@alex-courtis alex-courtis merged commit 874ae6e into master Nov 12, 2023
@alex-courtis alex-courtis deleted the fix-reload-on-bufenter branch November 12, 2023 02:14
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.

Retain Tree State on DirChanged

2 participants