

Set term=builtin_beos-ansi worked like a charm in OS X 10.10.3 Yosemite. Set term=xterm also works on OS X 10.9 Mavericks Set term=builtin_ansi Worked like a charm on OS X 10.9 Mavericks, Thanks. The following worked great on OSX 10.10.3 Yosemite, and OSX 10.12.4 Sierra. Others (on "Mountain Lion" and "Sierra") reported success with this instead: Something like this is needed, prior to the syntax on command in your. not a GUI like MacVim), you may need to inform Vim how to handle the terminal.

If you have that, and still don't get syntax highlighting in Vim running in a terminal (i.e. If you don't have syntax highlighting in any Vim, first make sure something like this is in your.

Some versions of Mac OS X don't have syntax highlighting support in terminal Vim with default settings.
