mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Rename FuzzySearchFunc to FilterFunc
It isn't necessarily fuzzy any more.
This commit is contained in:
@ -38,7 +38,7 @@ func (self *CustomCommandAction) Call() error {
|
||||
func (self *CustomCommandAction) GetCustomCommandsHistorySuggestionsFunc() func(string) []*types.Suggestion {
|
||||
history := self.c.GetAppState().CustomCommandsHistory
|
||||
|
||||
return helpers.FuzzySearchFunc(history, self.c.UserConfig.Gui.UseFuzzySearch())
|
||||
return helpers.FilterFunc(history, self.c.UserConfig.Gui.UseFuzzySearch())
|
||||
}
|
||||
|
||||
// this mimics the shell functionality `ignorespace`
|
||||
|
Reference in New Issue
Block a user