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 --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/config.go') diff --git a/config/config.go b/config/config.go index 3fecb360..8a01f503 100644 --- a/config/config.go +++ b/config/config.go @@ -44,7 +44,7 @@ type UIConfig struct { EmptyDirlist string `ini:"empty-dirlist"` MouseEnabled bool `ini:"mouse-enabled"` ThreadingEnabled bool `ini:"threading-enabled"` - FuzzyFolderComplete bool `ini:"fuzzy-folder-complete"` + FuzzyComplete bool `ini:"fuzzy-complete"` NewMessageBell bool `ini:"new-message-bell"` Spinner string `ini:"spinner"` SpinnerDelimiter string `ini:"spinner-delimiter"` @@ -622,7 +622,7 @@ func LoadConfigFromFile(root *string, logger *log.Logger) (*AercConfig, error) { EmptyDirlist: "(no folders)", MouseEnabled: false, NewMessageBell: true, - FuzzyFolderComplete: false, + FuzzyComplete: false, Spinner: "[..] , [..] , [..] , [..] , [..], [..] , [..] , [..] ", SpinnerDelimiter: ",", DirListFormat: "%n %>r", -- cgit