I’ve google’ed this one countless times. I’ll store it here
When vim doesn’t recognize what kind of syntax highlighting to use you can set it manually with
: set syn=sh
(in vim command mode)
If you wonder what syntax highlighting modes are available, in Fedora (and I see Ubuntu and Debian got them at the same place) they’re here:
[joar@saturn syntax]$ pwd /usr/share/vim/vim73/syntax [joar@saturn syntax]$ ls | sed 's/\.vim//' | head # showing only the first 10 ones 2html a2ps a65 aap abap abaqus abc abel acedb ada [joar@saturn syntax]$
FreeBSD got those in /usr/local/share/vim/vim73/syntax/