code: func updateAutoComplete(p *profile.Profile) {
  	profileFunctionNames = nil // remove function names retrieved previously
  	for _, fn := range p.Function {
  		profileFunctionNames = append(profileFunctionNames, fn.Name)
  	}
  }
docs: // updateAutoComplete enhances autocompletion with information that can be
  // retrieved from the profile