" place in .vim/ftdetect/ au BufRead,BufNewFile *.c set filetype=c au BufRead,BufNewFile *.h set filetype=c