-
-
Notifications
You must be signed in to change notification settings - Fork 624
feat: add sort_by "suffix" #2307
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
Conversation
Thanks for the contribution. I'll review next weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works, many thanks for your contribution:
master extension:
~/2288/.. │
00-env.bat.conf │~
00-env.conf │~
01-secrets.conf │~
02-autostart.conf │~
03-hardware.conf │~
00-env.java.conf │~
00-env.kitty.conf │~
00-env.nvim.conf │~
00-env.xanmod.conf │~
branch suffix:
~/2288/.. │
00-env.bat.conf │~
00-env.conf │~
00-env.java.conf │~
00-env.kitty.conf │~
00-env.nvim.conf │~
00-env.xanmod.conf │~
01-secrets.conf │~
02-autostart.conf │~
03-hardware.conf │~
Can be one of `"name"`, `"case_sensitive"`, `"modification_time"`, `"extension"`, | ||
`"suffix"`, `"filetype"` or a function. | ||
`"extension"` uses all suffixes e.g. `foo.tar.gz` -> `.tar.gz` | ||
`"suffix"` uses the last e.g. `.gz` | ||
Type: `string` | `function(nodes)`, Default: `"name"` | ||
|
||
Function may perform a sort or return a string with one of the above |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed suffix
from the node; it's more complex to calculate and users can do it themselves if they feel the need.
No description provided.