augroup filetypedetect au BufRead,BufNewFile *.changes :set filetype=changes augroup END