From 86900d9f6c64e0598e5b217a1d393e55cb53602b Mon Sep 17 00:00:00 2001 From: Jad Altahan Date: Wed, 30 Jan 2019 11:35:01 +1100 Subject: Feature [feature-requests:#1261]. Enhance the styling of backticks in Nim --- test/examples/x.nim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/examples/x.nim') diff --git a/test/examples/x.nim b/test/examples/x.nim index 07c9d216f..4bf0de737 100644 --- a/test/examples/x.nim +++ b/test/examples/x.nim @@ -4,3 +4,9 @@ let s = "foobar" # Feature #1260 {.ident.} stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!") + +# Feature #1261 +# IsFuncName("proc") so style ticks as SCE_NIM_FUNCNAME: +proc `$` (x: myDataType): string = ... +# Style ticks as SCE_NIM_BACKTICKS: +if `==`( `+`(3,4),7): echo "True" -- cgit v1.2.3