blob: b9c097352a92bf6b25b9df0cdab9a036e43adf5f (
plain)
1
2
3
4
5
6
7
|
// Package match contains matchers that decide if to apply completion.
package match
// Match matches two strings
// it is used for comparing a term to the last typed
// word, the prefix, and see if it is a possible auto complete option.
type Match func(term, prefix string) bool
|