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
new nvim-tree.filters to point to custom files with regexes with ignore patterns #2367
Comments
It seems that you'd like This one's a bit tricky; we don't have a I'm open to the idea; my Do you know the syntax of |
For ripgrep I use the |
I found this doc about the |
That looks good. I'm still not clear on exactly what the As stated above, we'd need some sort of glob parser. nvim-treesitter appears to have a I'm open to adding treesitter or |
You mean https://github.com/shunsambongi/tree-sitter-gitignore ? I have no experience with lua, but I can try to do the addition :) |
I see. It seems to install and run OK with packer. It doesn't look like there are any actual binaries; the Let's try it and see how it looks! |
As per #2438 we can add .gitignore and friends to watchers ignore. |
A new nvim-tree.filters that would behave exactly as
nvim-tree.filters.git_ignored
but we could set custom file names like.ignored
.There are some cases we don't want to git ignore some files, but we want to hide from tools like this or ripgrep, ripgrep has some extra files where you can define your ignored regex patterns like
.ignore
or.rgignore
usingFiltering options.
Something like this:
The text was updated successfully, but these errors were encountered: