I live in Vim, but finally got tired of editing my .module files without syntax highlighting - ugh. Turns out all you have to do is tell vim what the file is so that it knows what to shade.
Make sure that the following is in your vimrc file - notice the filetype on line:
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
Then place the following in ~/.vim/filetype.vim, restart Vim and you are all set!
" tell Vim what a .module file is
au! BufRead,BufNewFile *.module setfiletype php