Skip to content

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