json-emacs/json-mode

Floating point numbers not font locked correctly

rogerbinns opened this issue · 3 comments

There is a re for integers but not for floating point. Consequently the bit before the point is treated as font-lock-constant but then the dot and rest are normal which makes them look rather bizarre.

Thanks for reporting!

Fixed. @rogerbinns any suggestions on how you would write an automated test for this?

Yes, release a new version to the world. Humans will notice if there is a problem and let you know :-)