This is a rather small improvement patch within the SCE_NIM_NUMBER style to conform more with the Nim syntax. It does the following:
The patch also fixes a harmless, but annoying bug with decimal points in ranges where the fourth decimal point gets styled as SCE_NIM_NUMBER instead of SCE_NIM_OPERATOR when followed by a sequence of three decimal points. See:

Test cases for x.nim are included in the patch.
Committed as [3710c1].
Related
Commit: [3710c1]