llvm/llvm/utils/vim/ftdetect/llvm-lit.vim

au BufRead,BufNewFile lit.*cfg set filetype=python