bathos / Ecmascript-Sublime

ECMAScript/JavaScript syntax (ES2015-ES2018, JSX, template highlighting, etc) with absurdly specific scopes
88 stars 8 forks source link

AE identifiers prefixed with reserved words followed by `$` #72

Closed blake-regalia closed 4 years ago

blake-regalia commented 5 years ago

If an identifier is prefixed by a reserved word followed by $ in an assignment expression, the highlighter scopes it as constant.language and invalid.illegal -- but it should be a valid identifier.

let valid = null$;