From aaf0a0c65673db4b94c0dc200d7394a192128da1 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Sun, 31 Jul 2022 22:16:40 +0200 Subject: lint: apply new formatting rules Run `make fmt`. Signed-off-by: Moritz Poldrack Acked-by: Robin Jarry --- widgets/exline.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'widgets/exline.go') diff --git a/widgets/exline.go b/widgets/exline.go index 4a4b6559..e172dd81 100644 --- a/widgets/exline.go +++ b/widgets/exline.go @@ -20,8 +20,8 @@ type ExLine struct { func NewExLine(conf *config.AercConfig, cmd string, commit func(cmd string), finish func(), tabcomplete func(cmd string) ([]string, string), - cmdHistory lib.History) *ExLine { - + cmdHistory lib.History, +) *ExLine { input := ui.NewTextInput("", &conf.Ui).Prompt(":").Set(cmd) if conf.Ui.CompletionPopovers { input.TabComplete(tabcomplete, conf.Ui.CompletionDelay) @@ -41,8 +41,8 @@ func NewExLine(conf *config.AercConfig, cmd string, commit func(cmd string), fin } func NewPrompt(conf *config.AercConfig, prompt string, commit func(text string), - tabcomplete func(cmd string) ([]string, string)) *ExLine { - + tabcomplete func(cmd string) ([]string, string), +) *ExLine { input := ui.NewTextInput("", &conf.Ui).Prompt(prompt) if conf.Ui.CompletionPopovers { input.TabComplete(tabcomplete, conf.Ui.CompletionDelay) -- cgit