ECMAScript 6 JavaScript language definition for TextMate and SublimeText. This builds on Benvie's work.
Highlighted features include modules, succinct methods, arrow functions, classes, generators, and accessors.
If you haven't already, install Package Control, then select JavaScript Improved
from the Package Control: Install Package
dropdown list in the Command Palette.
To set this as your default JavaScript syntax, open a javascript file, then select View -> Syntax -> Open all with current extension as... -> JavascriptImproved
.
Classes
Modules