Use "syntax enable" instead of "syntax on".