2948fa9296
Update posener/complete to revision=v1.1. Leave only once occurrence of posener/complete in vendor, there was an occurrence for each package individualy. The formatting of vendor/vendor.json has changed after using the command "govendor fetch github.com/posener/complete@=v1.1"
13 lines
257 B
Go
13 lines
257 B
Go
package complete
|
|
|
|
// PredictSet expects specific set of terms, given in the options argument.
|
|
func PredictSet(options ...string) Predictor {
|
|
return predictSet(options)
|
|
}
|
|
|
|
type predictSet []string
|
|
|
|
func (p predictSet) Predict(a Args) []string {
|
|
return p
|
|
}
|