Vim syntax highlighting for Qt's .pro files

Alec Jacobson

July 13, 2010

weblog/

I use the following at the end of my .vimrc file to force vim to highlight Qt's .pro project files like a make file:
au BufNewFile,BufRead *.pro set filetype=make
Looks much better than whatever it was trying to do before.