8

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:

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

1 Answer 1

11

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

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.