Skip to content

fix: Gitignore rules not being applied on new nodes. #415

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

Conversation

sindrets
Copy link
Contributor

Fixes #412.

Reload git roots before refreshing nodes so that the gitignore map is
updated, and ignore rules are applied correctly on refresh_entries.

Reload git roots before refreshing nodes so that the gitignore map is
updated, and ignore rules are applied correctly on refresh_entries.
Copy link
Member

@kyazdani42 kyazdani42 left a comment

Choose a reason for hiding this comment

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

thanks !

@kyazdani42 kyazdani42 merged commit 9aed1ac into nvim-tree:master May 31, 2021
@sindrets sindrets deleted the fix/apply-gitignore-on-new-nodes branch May 31, 2021 12:08
Almo7aya pushed a commit to Almo7aya/nvim-tree.lua that referenced this pull request Oct 11, 2022
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.

Not taking .gitignore into account for files created after starting up vim
2 participants