1
0
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:
Stefan Haller
2024-03-17 09:12:19 +01:00
parent 561afa9901
commit 7d2163d632
2 changed files with 7 additions and 7 deletions

View File

@ -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`