packer-cn/vendor/github.com/posener/complete/predict_set.go

13 lines
257 B
Go
Raw Normal View History

package complete
// PredictSet expects specific set of terms, given in the options argument.
func PredictSet(options ...string) Predictor {
return predictSet(options)
}
type predictSet []string
2019-04-10 09:41:22 -04:00
func (p predictSet) Predict(a Args) []string {
return p
}