My ds has been fussy with eating since having a really nasty sickness bug when he was about 2 and a half. He was so sick he ended up in hospital. Before then he had a good diet. Now he's stopped eating most of the foods he ate before.
If I encourage him to try something new he will often try but then he gags and is sick. Pasta makes him sick, rice does, mince does, spaghetti the list goes on.
This is what he will currently accept:
Toast with peanut butter
Yogurt
Home made pizza (no other sort won't eat it when out)
Apples
Bananas
Broccoli quiche (only this sort)
Jacket potato with beans or cheese (but not cheese on it's own)
Beans
Peas
Sweet corn
Carrot
Waffles
Small amount of fish if with beans (loved fish before was ill)
Small amount of scrambled egg if with beans
Bread - on its own with no spread or anything!
Tomato or parsnip soup
Chips, crisps, cake obviously 
What on earth is he going to do at school?! What can I put in his lunchbox? I'm not attempting school dinners for fear they make him eat it and he's sick!
I kept hoping he'd grow out of it. If anything he's worse! What should I do? I keep encouraging but not pressuring because it's horrid when he's sick. It's definitely more than just being stubborn.