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/compose
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue