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?
|
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. |
|||||||
|
|
Actually, Xcode 3.x included a Quicklook plugin for source codes. With the intruduction of Xcode 4.x, such plugin has disappeared. I have personallly tried to use qlcolorcode and colorqc2 on Lion, but both are not stable/reliable enough (slow response, sometimes missing quicklook). An updated version of the plugins would be welcome. |
|||
|
|
|
The Xcode 3 plugin was found at /Developer/Applications/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator Unfortunately I don't think this can be made to work now. :( |
|||
|
|
|
Guys you can do this procedure bellow: To fix this, open a new Terminal window and enter these commands to open vim’s configuration file:
Press the i key to switch vim to Insertion Mode, then enter these lines below the
Press the ⎋ esc key to take vim out of Insertion Mode, then press : (colon) followed by x to save the file and exit. It worked for me thanks. |
||||
