From 922d31d6091e4de67e71b705947faab1dda32873 Mon Sep 17 00:00:00 2001 From: Jad Altahan Date: Sat, 9 Mar 2019 08:15:45 +1100 Subject: Feature [feature-requests:#1268]. Improve the styling of numbers in Nim Improvements for SCE_NIM_NUMBER. --- test/examples/x.nim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/examples/x.nim') diff --git a/test/examples/x.nim b/test/examples/x.nim index ac8a274f4..874940d47 100644 --- a/test/examples/x.nim +++ b/test/examples/x.nim @@ -18,3 +18,11 @@ let standardTripleLitRawStr = R"""A triple-double raw string\"""" # Style of 'customIdent' is determined by lexer.nim.raw.strings.highlight.ident. 16 if false, 6 or 10 if true let customDoubleLitRawStr = customIdent"A string\" let customTripleLitRawStr = customIdent"""A triple-double raw string\"""" + +# Feature #1268 +10_000 +10__000 +10_ +1....5 +1.ident +1._ident -- cgit v1.2.3