Javascript syntax highlighting broken with back tic `

Issue #14372 open
alexlamberti created an issue

When the parser encounters a back tic character (`), it correctly interprets it as a string. However when the closing back tic is preceded by a closing curly brace, }, it seems to fail to recognize the closing of the string, thus the remainder of the file is highlighted as though it is a single massive string.

This is a common occurrence due to ES2015 + spec for template strings which use variable notation as ${myVar}

Comments (1)

  1. Log in to comment