SublimeText / CoffeeScript

Syntax highlighting and checking, commands, shortcuts, snippets, watched compilation and more.
440 stars 64 forks source link

Syntax highlighting improvement for digits #253

Closed PixxxeL closed 2 months ago

PixxxeL commented 2 months ago

For example in this code someDigit = .1 syntax highlighting is breaks. Think that there need to edit as \b\d*(?:(\.)\d*(?:e[-+]?\d+)?|(?:e[-+]?\d+))\b because float may be without leading zero before dot.