To get vim to recognize your filetypes (for syntax highlighting), even if you use non-standard extensions (example: I use .fhtml for html file fragments, but I still want html-syntax-highlighting in my .fhtml files), you will need to edit "filetypes.vim". You can find this on your system with locate or whatever else, and adding another extension to a filetype should be easy and make enough sense.