atom-language icon indicating copy to clipboard operation
atom-language copied to clipboard

Lacking space in infix math ops does not highlight numbers

Open zoffixznet opened this issue 7 years ago • 0 comments

If you don't use a space in an infix math op, the second number stops being highlighted as a number. I only notice the operator itself is highlighted differently depending on whether there's space after it.

Example Code

 ^10+100;
 ^10 +100;
 ^10 + 100;
 ^10+ 100;
5+5
5-5
5 -5
5 - 5

Picture [optional]

Here: https://temp.perl6.party/atom-language-perl6-number-space-op.png (github is refusing to take my upload)

Leave this in. For internal use.

  • [ ] Fixed in Master
  • [ ] Fixed in Release
  • [ ] Has Tests
  • [ ] Passes Tests

zoffixznet avatar Feb 28 '17 20:02 zoffixznet