Place the following in filetype.vim.

au BufNewFile,BufRead *.xm,*.xmm,*.l.mm setf logos
