Skip to content

Adding basic ES6 string interpolation #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2015

Conversation

averted
Copy link
Contributor

@averted averted commented May 13, 2015

Syntax highlighting for ES6 string interpolation, adding:

javaScriptTemplateDelim - for matching delimiters ${ }
javaScriptTemplateVar - the variable part of interpolation ${...}
javaScriptTemplateString - everything between ` `

Example:

var test = "world";
var hello_world = `Hello ${test}`;

jelera added a commit that referenced this pull request May 14, 2015
Adding basic ES6 string interpolation
@jelera jelera merged commit 8066c37 into jelera:master May 14, 2015
@averted averted deleted the es6-interpolation branch May 14, 2015 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants