Skip to content

Instantly share code, notes, and snippets.

@benedikt
Created November 27, 2012 22:51
Show Gist options
  • Save benedikt/4157740 to your computer and use it in GitHub Desktop.
Save benedikt/4157740 to your computer and use it in GitHub Desktop.
\lstdefinelanguage{ECMAScript}
{morekeywords={break, else, new, var, case, finally, return, void, catch, for, switch, while, continue, function, this, with, default, if, throw, delete, in, try, do, instanceof, typeof,
abstract, enum, int, short, boolean, export, interface, static, byte, extends, long, super, char, final, native, synchronized, class, float, package, throws, const, goto, private, transient,
debugger, implements, protected, volatile, double, import, public},
sensitive,
morecomment=[l]//,
morecomment=[s]{/*}{*/},
morestring=[b]",
morestring=[b]',
}[keywords,comments,strings]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment