Go to a vendor nearby and target him.
Select "Vendor".
Check "Can buy food/drink" if the vendor offers this.
Check "Can repair" if the vendor can repair.
Click on "Add Target" to add the vendor to your list.
You need at least 1 vendor in your NPC list where food/drink can be bought.
Enter the name of the food/drink in the corresponding search field.