aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.nim.styled
diff options
context:
space:
mode:
authorJad Altahan <xviyy@aol.com>2019-01-30 11:35:01 +1100
committerJad Altahan <xviyy@aol.com>2019-01-30 11:35:01 +1100
commit86900d9f6c64e0598e5b217a1d393e55cb53602b (patch)
tree8ff373d973fcc7025b02bf24d0aee94aa387cac0 /test/examples/x.nim.styled
parent850cfb235e8e92c5b180c94f81d599f88e8cef01 (diff)
downloadscintilla-mirror-86900d9f6c64e0598e5b217a1d393e55cb53602b.tar.gz
Feature [feature-requests:#1261]. Enhance the styling of backticks in Nim
Diffstat (limited to 'test/examples/x.nim.styled')
-rw-r--r--test/examples/x.nim.styled6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/examples/x.nim.styled b/test/examples/x.nim.styled
index fc1532e60..18ae529e6 100644
--- a/test/examples/x.nim.styled
+++ b/test/examples/x.nim.styled
@@ -4,3 +4,9 @@
{3}# Feature #1260
{15}{.{16}ident{15}.}{0}
{16}stdin{15}.{16}readLine{15}.{16}split{15}.{16}map{15}({16}parseInt{15}).{16}max{15}.{11}`$`{15}.{16}echo{15}({6}" is the maximum!"{15}){0}
+
+{3}# Feature #1261
+# IsFuncName("proc") so style ticks as SCE_NIM_FUNCNAME:
+{8}proc{0} {12}`$`{0} {15}({16}x{15}:{0} {16}myDataType{15}):{0} {16}string{0} {15}={0} {15}...{0}
+{3}# Style ticks as SCE_NIM_BACKTICKS:
+{8}if{0} {11}`==`{15}({0} {11}`+`{15}({5}3{15},{5}4{15}),{5}7{15}):{0} {16}echo{0} {6}"True"{0}