People are all over the place on this topic, so I wanted to relay my recent experience.
For the past 3 months I had been eating within 1 hour of my bedtime. It was usually something light, either 1-3 boiled eggs or 1 large bag of steamed broccoli. During that time I noticed that I would constantly wake up with 1-2 hours of going to bed, which was not only annoying but also terrible for overall sleep and recovery.
For the past 3 weeks I made a tweak, and have been strict about not over eating at dinner and have also made sure to finish that dinner at least 2 hours before going to bed. Within two days of implementing these rules I started sleeping soundly, and no longer had the problem of waking within 1-2 hours of going to sleep.
For most of the year I make sure to finish my dinner at least 2 hours before bedtime for body composition reasons, but now I've also found that I sleep much more soundly and wake up much more rested as well.
Just thought I might relay what's worked for me, as I think sleep is the second most important part of recovery next to diet.
Where do you stand?