Is there a mode out there that has syntax higlighting (and possibly more, but this is the least I want) for a more recent ecmascript? I'm especially interested in one that has support for template strings and generator functions.

This should render properly:

   var a = yield request(`some.domain/${variable}`)
   return a;

1 Answer 1


js2-mode supports all of this. It is available on GNU ELPA and MELPA for easy access.

  • 1
    Thanks! I was using js3-mode and js-mode and somehow thought js3 is a fork of js2. Nov 18, 2015 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.