-
-
Notifications
You must be signed in to change notification settings - Fork 619
[very weird bug]: Newly Created Files Ignored by .gitignore
Still Visible in nvim-tree
#2511
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
Comments
.gitignore
Still Visible in nvim-tree.gitignore
Still Visible in nvim-tree
I have tried for almost an hour to get a reproducible example and I thought I found one, but I just noticed that this one does not work. I've cleaned the |
Okay, this work 50% of the time now. |
Unfortunately I'm not able to reproduce this one. The German characters do not appear to be an issue as everything seems to be working. I did see one strange behaviour that I could not reproduce: modifying Testing in a normal filesystem directory was successful. Suggestion: try reproducing on a regular filesystem with a very simple structure, maybe something like: #2468 (comment) |
I was able to fix this by renaming the top level directory to something different. This also fixed some issues I was having with an LSP server. I would prefer to leave this issue open for people who may have the same problem. Again, I could not reproduce this reliability without literally copying the entire directory structure. |
Can you please tgz the entire directory structure so that we may replicate? Unless we can replicate this it will be closed. Closed issues may be searched and are often commented upon / reopened. |
I will do so if I get to it. Expect it by Tuesday afternoon. Thank you for your patience and interest. |
Sorry for the wait. I tried again and again at reproducing this, but I couldn't get it to reliably work, so I'm closing the issue. Thank you for the relentless persuade to make the project better than it already is. |
Thanks mate. Please do reopen if you see this again / can replicate. |
Description
I've come across an issue with nvim-tree, where newly created files that are meant to be ignored according to the
.gitignore
file are still appearing in the tree view.Neovim version
Operating system and version
macOS 14.0
Windows variant
No response
nvim-tree version
master, 7e3c0be
Clean room replication
Steps to reproduce
git clone https://github.com/michaelvanstraten/scholarly-work.git .
Expected behavior
I expected the file tree in nvim-tree to remain unchanged, with the newly created file
test.pdf
hidden due to the entry in the.gitignore
file.Actual behavior
However, the actual behavior is that the file
test.pdf
is visible in the directory tree, despite being listed in the.gitignore
file.The text was updated successfully, but these errors were encountered: