On Fri, 2003-12-12 at 09:40, Daniel Crookston wrote: > K cool, turning syntax on underlines some stuff, and turns the other stuff > white, but it's not the full color syntax highlighting that I'd really like. > If any of you are familiar with the auto-highlighting that sites like > phpfoundry (I think?) or yapf do... that's the kind of thing I'm looking > for. It's got green and orange and purple all sorts of pretty colors that > set apart different things.
What you are seeing is full syntax highlighting, except that the current terminal type only supports black and white, bold and underline, so vim uses those "colors." Set the terminal type to something like xterm-color and then try it. I have this same problem with OS X as you describe and forcing the terminal type fixes it. For some reason on the MacOS terminal, vt100 or whatever it is doesn't want to do color. With a terminal type that supports color, indeed vim does do full syntax-hilighting with lots of pretty colors. Slightly off topic, but I have a special hilighting file installed in my vim that adds color syntax hilighting for GTK method calls, #defines, and other things. Makes it really easy to work with GTK in straight C. > > Dan > > > If your terminal type is right (say xterm or xterm-color), then vim > > color coding should be on by default. If not, try: > > :syntax on > > > > I have to do that on my macintosh machines. > > > > Michael > > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -- Michael L Torrie <[EMAIL PROTECTED]> ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
