Heat the oven to 350°F (180°C). Use nonstick cooking spray on two 6-count donut pans. Mix flour, sugar, baking powder, soda, salt, and ground nutmeg in a large bowl. Add buttermilk, egg, melted butter, and vanilla to a well in the dry ingredients. Batter is thick; mix just until combined.