commands: implement fuzzy completion for commands and options
Change the option to enable fuzzy completion to be fuzzy-complete, since it's no longer only used for folders Signed-off-by: Kt Programs <ktprograms@gmail.com> Acked-by: Koni Marti <koni.marti@gmail.com>
This commit is contained in:
parent
55ae3d2cab
commit
cc172970a0
12 changed files with 90 additions and 78 deletions
commands/msg
|
@ -31,7 +31,7 @@ func (Archive) Aliases() []string {
|
|||
|
||||
func (Archive) Complete(aerc *widgets.Aerc, args []string) []string {
|
||||
valid := []string{"flat", "year", "month"}
|
||||
return commands.CompletionFromList(valid, args)
|
||||
return commands.CompletionFromList(aerc, valid, args)
|
||||
}
|
||||
|
||||
func (Archive) Execute(aerc *widgets.Aerc, args []string) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue