Skip to content

Commit

Permalink
Add class member @ syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
billyquith committed Feb 10, 2016
1 parent 53d920f commit 9ac0051
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/languages/moonscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ function(hljs) {
contains: [hljs.BACKSLASH_ESCAPE, SUBST]
}
]
},
{
className: 'variable',
begin: '@' + hljs.IDENT_RE
}
];
SUBST.contains = EXPRESSIONS;
Expand Down

0 comments on commit 9ac0051

Please sign in to comment.