au BufRead,BufNewFile *.res set filetype=rescript au BufRead,BufNewFile *.resi set filetype=rescript