pangloss/vim-javascript — pull request #37 by indygreg (2011-12-08 22:47:05+00:00)
Title: Detect .jsm files as JavaScript

Some people (like Mozilla projects) use the .jsm file extension to denote JavaScript "modules." I propose adding this detection out of the box.