What are good eating habits for sleeping?

Avoidance. Avoid caffeine, chocolate, sugar or other stimulants. Avoid heavy alcohol intake. Do not eat in the two hours before bed. Do not eat in bed. Avoid a lot of fluid intake to reduce the need to wake up to urinate. Maybe elevate the head to reduce acid regurgitation from stomach.
Little and early. Large meals too close to sleep can distend our stomachs and make us feel uncomfortable disturbing our ability to get to sleep. (think of large thanksgiving meals). More over, avoid foods that are sugary, too fatty, and foods that can cause reflux, a not too common reason for sleep disturbance.