1 2 3 4 5
" vim filetype detect file " Set filetype to 'xml' on opening a buffer as '.xml', '*.html', etc. au BufNewFile,BufRead *.{xml,html,xhtml} setfiletype xml