diff options
author | kt programs <ktprograms@gmail.com> | 2022-03-06 10:58:07 +0800 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-03-07 10:18:50 +0100 |
commit | cc172970a079bb78847f2276db8bfae375cda185 (patch) | |
tree | 143f9f049d7faf01e6ab1b07aac5017c516efbb2 /commands/msg/archive.go | |
parent | 55ae3d2cab8489609a1b11c169c28306730a71ea (diff) | |
download | aerc-cc172970a079bb78847f2276db8bfae375cda185.tar.gz |
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>
Diffstat (limited to 'commands/msg/archive.go')
-rw-r--r-- | commands/msg/archive.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go index e73e42cf..8f832e58 100644 --- a/commands/msg/archive.go +++ b/commands/msg/archive.go @@ -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 { |