Setting a default vim filetype for syntax highlighting
Add the following to the end of your ~/.vimrc
(change conf
to whichever filetype you would like as default):
if &filetype==""
setfiletype conf
endif
From within vim:
:runtime! syntax/c.vim