You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to be able to always show environment files, since I often want to edit these, but they're also commonly listed in a .gitignore, so they are often hidden by Neotree. Environment files generally follow a simple pattern: .env*. But right now, I can only list possible literal environment file names one by one.
Describe the solution you'd like.
The always_show property should accept glob patterns, the same as the hide_by property.
Did you check the docs?
Is your feature request related to a problem? Please describe.
I want to be able to always show environment files, since I often want to edit these, but they're also commonly listed in a
.gitignore
, so they are often hidden by Neotree. Environment files generally follow a simple pattern:.env*
. But right now, I can only list possible literal environment file names one by one.Describe the solution you'd like.
The
always_show
property should accept glob patterns, the same as thehide_by
property.To me, it looks like this means there should be a function call something like
utils.is_filtered_by_pattern(f.always_show, path, name)
when file items get created. Compare how the hide_by property is handled.Describe alternatives you've considered.
I could just list environment file names. But that's going to get annoying quickly. Realistically, I'll never bother.
Additional Context
No response
The text was updated successfully, but these errors were encountered: