I just discovered how to turn on syntax highlighting by default on Vim. All you have to do is add the following line to your ~/.vimrc file:
If you don't have a .vimrc file, a quick way to add one is by running the following command:
$ echo ":syntax on" >> ~./vimrc
I was impressed to find that Vim contains Groovy syntax highlighting by default. Enjoy!