Are you talking about syntax highlighting? It is the property of the editor that you use. If you are using vi try ":help syntax" to see how it can be done. (I have never done it. Happy with what I get from vim

). If this is not syntax highlighting, just ignore this.
--Sarin