Here is the selinux policy syntax highlighting, it seems reasonable to add in with USE=selinux. http://www.cip.ifi.lmu.de/~bleher/selinux/te.vim The author says it needs this in filetype.vim[1] to autoload it: augroup filetypedetect au BufNewFile,BufRead *.te setf te augroup END
As discussed, I'll put this in app-vim/ somewhere rather than cluttering up vim-core. Need to read up on how to do filetypes properly first, since editing filetype.vim is not a good idea...
In cvs as app-vim/selinux-syntax, keyword ~sparc ~mips. :help filetype.txt and :help syntax explain how to do this tidily, no need to screw around with the main filetype file.