-
Notifications
You must be signed in to change notification settings - Fork 203
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
FEATURE: Always show files tracked by git #1154
Comments
+1 Or use additional option for filtered_items = {
hide_dotfiles = true, -- true(='always') | 'untracked' | false(='never')
} My proposal is to have |
The problem I have with that is that it seems like complexity we have already solved with the neo-tree.nvim/lua/neo-tree/defaults.lua Lines 472 to 474 in 7e2a3ca
I would prefer adding an |
The files that should be shown are project-dependent and therefore it doesn't make much sense to put the list of such files into neovim configs. The information has to be read (during runtime) from the git repository (like |
There can be a lot of patterns for dotfiles, depending on which project types you're working with. Maybe you even want to commit sometimes your project configuration dotfiles and sometimes not. IMO using git tracked files is a very user friendly, common sense solution for this problem that has the added benefit that it works out of the box. |
OK, you've convinced me. I think @wookayin's suggestion make sense:#1154 (comment) If someone wants to implement this, I will accept the PR. It's not a high priority for me personally though so I don't think I would get to it any time soon. |
Did you check the docs?
Is your feature request related to a problem? Please describe.
I tried to find a solution but it doesn't seem possible at the moment?
I know that I can manually add some hidden files to the
always_show
list of files/directories but there doesn't seem to be a way to always show all files that are tracked by git but still hide untracked dotfiles or other hidden files.Describe the solution you'd like.
Add a mode
always_show_git_tracked
or similar to show files that are tracked by git.Describe alternatives you've considered.
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: