How to enable Syntax highlighting on Vim in Mac OS Terminal?
If the file ~/.vimrc is not there, you'll just need to create it. To enable syntax highlighting, add

syntax on


to it. Also make sure that "Display ANSI colors" is enabled in the Terminal Settings.