MacOS – How to get syntax highlighting of source code files within Quick Look back in Lion

macosquicklook

Source code files viewed using Quick Look on Snow Leopard had syntax highlighting. Unfortunately the syntax highlighting has disappeared on OS X Lion. Is there a way to get it back?

Best Answer

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.