mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
Do not sort terms when building cache key
This commit is contained in:
parent
ea25e9674f
commit
4a5142c60b
@ -2,7 +2,6 @@ package fzf
|
||||
|
||||
import (
|
||||
"regexp"
|
||||
"sort"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@ -181,7 +180,6 @@ func (p *Pattern) CacheKey() string {
|
||||
}
|
||||
cacheableTerms = append(cacheableTerms, string(term.origText))
|
||||
}
|
||||
sort.Strings(cacheableTerms)
|
||||
return strings.Join(cacheableTerms, " ")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user