Vim syntax highlighting for cmake's CMakeLists.txt files
Alec Jacobson
August 31, 2010
I use the following at the end of my .vimrc file to force vim to highlight cmake's CMakeLists.txt files like any other cmake file:
au BufNewFile,BufRead CMakeLists.txt set filetype=cmake
Looks much better than whatever it was trying to do before, which for me was nothing.