From cc172970a079bb78847f2276db8bfae375cda185 Mon Sep 17 00:00:00 2001 From: kt programs Date: Sun, 6 Mar 2022 10:58:07 +0800 Subject: 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 Acked-by: Koni Marti --- commands/compose/header.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/compose') diff --git a/commands/compose/header.go b/commands/compose/header.go index 5780aa8b..949698e5 100644 --- a/commands/compose/header.go +++ b/commands/compose/header.go @@ -32,7 +32,7 @@ func (Header) Aliases() []string { } func (Header) Complete(aerc *widgets.Aerc, args []string) []string { - return commands.CompletionFromList(headers, args) + return commands.CompletionFromList(aerc, headers, args) } func (Header) Execute(aerc *widgets.Aerc, args []string) error { -- cgit