microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 235 forks source link

Color numbers using ES Numeric Separators the same as other numbers #649

Closed IceCreamYou closed 6 years ago

IceCreamYou commented 6 years ago

As of TS 2.7, TypeScript supports ES Numeric Separators, like this:

const milion = 1_000_000;

Although this syntax correctly doesn't get interpreted as an error, it isn't syntax-highlighted as a number:

image

image

It'd be nice if those two examples had the same color.

(If this is not the right place for this issue, let me know. I searched and didn't find any other issues about this topic.)

DanielRosenwasser commented 6 years ago

Should be fixed with the new release on PackageControl.