Friday, July 31, 2009

UNIX vim editor syntax coloring for .pc files?

I am not able to see syntax highlighting in .pc files. I am using vim editor through putty. When i do syntax on, i see syntax colors in .c and .cpp files but not in .pc files.

UNIX vim editor syntax coloring for .pc files?
what language is the .pc file? The syntax highlighting is based on programming language. The programming language is guessed using the file extension. If there is no support for the language in which you are trying to program, you do not get any syntax highlighting.


On a side note, if you want to use one serious true (highly customizable) editor, consider using Emacs (http://www.emacswiki.org/cgi-bin/wiki). You can do amazing things in that editor (not just editing files...)


No comments:

Post a Comment