-
Notifications
You must be signed in to change notification settings - Fork 219
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
Add option to show git ignored files with indicator #148
Comments
I think this is a good idea @yanzhang0219, I personally like to show any "hidden" files in a different highlight group as well. I'll add both options. |
Anyone interested in this feature, please see the discussion at: #171 |
This has been partially implemented in a new v2.x branch. The way it works now, if you show hidden files, git ignored files will be marked with it's own highlight group (grey) and use the v2.x has breaking changes to the filters config. These options have been completely changed: require("neo-tree").setup({
filesystem = {
filtered_items = {
visible = false, -- when true, they will just be displayed differently than normal items
hide_dotfiles = true,
hide_gitignored = true,
hide_by_name = {
".DS_Store",
"thumbs.db"
--"node_modules"
},
never_show = { -- remains hidden even if visible is toggled to true
--".DS_Store",
--"thumbs.db"
},
},
}
}) WARNING: v2.x is brand new and far from release. It will have many breaking changes, although I will alert you to these changes and try to auto migrate your existing config options. |
I want this cool feature AS SOON AS POSSIBLE. (by a Update: I just migrated to the |
One more idea (let me know if it is better to open a new issue):
For the gitignored files, how about adding an option to show them with a symbol like
[I]
, or hide them directly?E.g.,
For the symbols,
nvim-tree
uses symbols for different status of filesI think this is a good addition to
neo-tree
Originally posted by @yanzhang0219 in #147 (comment)
The text was updated successfully, but these errors were encountered: