I can enable syntax highlighting for a file that has an extension that is unknown to vim by doing the following
set syntax=c
Eve
With autocommand. E.g.
au BufNewFile,BufRead *.xyz setf c