neomutt: added missing sort options (#6283)
* neovim: add valid sort options Neomutt added a new prefix for sort options in 2022. Added the new possible prefixes to the neomutt module.
This commit is contained in:
parent
20665c6efa
commit
5c4302313d
1 changed files with 6 additions and 1 deletions
|
@ -372,7 +372,12 @@ in {
|
|||
sort = mkOption {
|
||||
# allow users to choose any option from sortOptions, or any option prefixed with "reverse-"
|
||||
type = types.enum
|
||||
(sortOptions ++ (map (option: "reverse-" + option) sortOptions));
|
||||
(builtins.concatMap (_pre: map (_opt: _pre + _opt) sortOptions) [
|
||||
""
|
||||
"reverse-"
|
||||
"last-"
|
||||
"reverse-last-"
|
||||
]);
|
||||
default = "threads";
|
||||
description = "Sorting method on messages.";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue