fix build under newer KConfig by bump cmake min version
This commit is contained in:
2
3rdparty/lexilla540/lexilla/test/examples/nim/SciTE.properties
vendored
Normal file
2
3rdparty/lexilla540/lexilla/test/examples/nim/SciTE.properties
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
lexer.*.nim=nim
|
||||
keywords.*.nim=else end if let proc
|
28
3rdparty/lexilla540/lexilla/test/examples/nim/x.nim
vendored
Normal file
28
3rdparty/lexilla540/lexilla/test/examples/nim/x.nim
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# Tests for Nim
|
||||
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"
|
||||
|
||||
# Feature #1262
|
||||
# Standard raw string identifier:
|
||||
let standardDoubleLitRawStr = R"A raw string\"
|
||||
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
|
29
3rdparty/lexilla540/lexilla/test/examples/nim/x.nim.folded
vendored
Normal file
29
3rdparty/lexilla540/lexilla/test/examples/nim/x.nim.folded
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
1 0 0 # Tests for Nim
|
||||
0 400 0 let s = "foobar"
|
||||
1 400 0
|
||||
1 400 0 # Feature #1260
|
||||
0 400 0 {.ident.}
|
||||
0 400 0 stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!")
|
||||
1 400 0
|
||||
1 400 0 # Feature #1261
|
||||
1 400 0 # IsFuncName("proc") so style ticks as SCE_NIM_FUNCNAME:
|
||||
0 400 0 proc `$` (x: myDataType): string = ...
|
||||
1 400 0 # Style ticks as SCE_NIM_BACKTICKS:
|
||||
0 400 0 if `==`( `+`(3,4),7): echo "True"
|
||||
1 400 0
|
||||
1 400 0 # Feature #1262
|
||||
1 400 0 # Standard raw string identifier:
|
||||
0 400 0 let standardDoubleLitRawStr = R"A raw string\"
|
||||
0 400 0 let standardTripleLitRawStr = R"""A triple-double raw string\""""
|
||||
1 400 0 # Style of 'customIdent' is determined by lexer.nim.raw.strings.highlight.ident. 16 if false, 6 or 10 if true
|
||||
0 400 0 let customDoubleLitRawStr = customIdent"A string\"
|
||||
0 400 0 let customTripleLitRawStr = customIdent"""A triple-double raw string\""""
|
||||
1 400 0
|
||||
1 400 0 # Feature #1268
|
||||
0 400 0 10_000
|
||||
0 400 0 10__000
|
||||
0 400 0 10_
|
||||
0 400 0 1....5
|
||||
0 400 0 1.ident
|
||||
0 400 0 1._ident
|
||||
1 400 0
|
28
3rdparty/lexilla540/lexilla/test/examples/nim/x.nim.styled
vendored
Normal file
28
3rdparty/lexilla540/lexilla/test/examples/nim/x.nim.styled
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
{3}# Tests for Nim
|
||||
{8}let{0} {16}s{0} {15}={0} {6}"foobar"{0}
|
||||
|
||||
{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}
|
||||
|
||||
{3}# Feature #1262
|
||||
# Standard raw string identifier:
|
||||
{8}let{0} {16}standardDoubleLitRawStr{0} {15}={0} {6}R"A raw string\"{0}
|
||||
{8}let{0} {16}standardTripleLitRawStr{0} {15}={0} {10}R"""A triple-double raw string\""""{0}
|
||||
{3}# Style of 'customIdent' is determined by lexer.nim.raw.strings.highlight.ident. 16 if false, 6 or 10 if true
|
||||
{8}let{0} {16}customDoubleLitRawStr{0} {15}={0} {16}customIdent{6}"A string\"{0}
|
||||
{8}let{0} {16}customTripleLitRawStr{0} {15}={0} {16}customIdent{10}"""A triple-double raw string\""""{0}
|
||||
|
||||
{3}# Feature #1268
|
||||
{5}10_000{0}
|
||||
{5}10{16}__000{0}
|
||||
{5}10{16}_{0}
|
||||
{5}1{15}....{5}5{0}
|
||||
{5}1{15}.{16}ident{0}
|
||||
{5}1{15}.{16}_ident{0}
|
Reference in New Issue
Block a user