How do I get syntax highlighting of source code files within Quick Look back in Lion?
I don't think Snow Leopard did that by default, you most likely had a QuickLook plugin installed, such as qlcolorcode or colorqc2. You can simply install this again in Lion.