Use 'set filetype' for the configuration files

'setfiletype' probably didn't work because of other autocmds.
Set smartindent for C4Script files