use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
true
|
||||
false
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["boolean", "true"],
|
||||
["boolean", "false"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for booleans.
|
@ -0,0 +1,11 @@
|
||||
# I'm a comment, you're not.
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "# I'm a comment, you're not."]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,33 @@
|
||||
1979-05-27T07:32:00Z
|
||||
1979-05-27T00:32:00-07:00
|
||||
1979-05-27T00:32:00.999999-07:00
|
||||
1979-05-27 07:32:00Z
|
||||
|
||||
1979-05-27T07:32:00
|
||||
1979-05-27T00:32:00.999999
|
||||
|
||||
1979-05-27
|
||||
|
||||
07:32:00
|
||||
00:32:00.999999
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["date", "1979-05-27T07:32:00Z"],
|
||||
["date", "1979-05-27T00:32:00-07:00"],
|
||||
["date", "1979-05-27T00:32:00.999999-07:00"],
|
||||
["date", "1979-05-27 07:32:00Z"],
|
||||
|
||||
["date", "1979-05-27T07:32:00"],
|
||||
["date", "1979-05-27T00:32:00.999999"],
|
||||
|
||||
["date", "1979-05-27"],
|
||||
|
||||
["date", "07:32:00"],
|
||||
["date", "00:32:00.999999"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for dates.
|
@ -0,0 +1,42 @@
|
||||
abc = "abc"
|
||||
"abc" = "abc"
|
||||
"abc".'a"b"c'.abc = "abc"
|
||||
a . b . c = "abc"
|
||||
|
||||
a = { b = "b", c = "c" }
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["key", "abc"],
|
||||
["punctuation", "="],
|
||||
["string", "\"abc\""],
|
||||
|
||||
["key", "\"abc\""],
|
||||
["punctuation", "="],
|
||||
["string", "\"abc\""],
|
||||
|
||||
["key", "\"abc\".'a\"b\"c'.abc"],
|
||||
["punctuation", "="],
|
||||
["string", "\"abc\""],
|
||||
|
||||
["key", "a . b . c"],
|
||||
["punctuation", "="],
|
||||
["string", "\"abc\""],
|
||||
|
||||
["key", "a"],
|
||||
["punctuation", "="],
|
||||
["punctuation", "{"],
|
||||
["key", "b"],
|
||||
["punctuation", "="],
|
||||
["string", "\"b\""],
|
||||
["punctuation", ","],
|
||||
["key", "c"],
|
||||
["punctuation", "="],
|
||||
["string", "\"c\""],
|
||||
["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for keys.
|
@ -0,0 +1,79 @@
|
||||
42
|
||||
0
|
||||
+0
|
||||
-0
|
||||
+99
|
||||
-17
|
||||
|
||||
1_000
|
||||
5_349_221
|
||||
|
||||
0xDEADBEEF
|
||||
0xdeadbeef
|
||||
0xdead_beef
|
||||
|
||||
0o0123_4567
|
||||
0o755
|
||||
|
||||
0b1101_0110
|
||||
|
||||
+1.0
|
||||
3.1415
|
||||
-0.01
|
||||
5e+22
|
||||
1e6
|
||||
1e1_000
|
||||
-2E-2
|
||||
6.626e-34
|
||||
9_224_617.445_991_228_313
|
||||
|
||||
inf
|
||||
+inf
|
||||
-inf
|
||||
nan
|
||||
+nan
|
||||
-nan
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "42"],
|
||||
["number", "0"],
|
||||
["number", "+0"],
|
||||
["number", "-0"],
|
||||
["number", "+99"],
|
||||
["number", "-17"],
|
||||
|
||||
["number", "1_000"],
|
||||
["number", "5_349_221"],
|
||||
|
||||
["number", "0xDEADBEEF"],
|
||||
["number", "0xdeadbeef"],
|
||||
["number", "0xdead_beef"],
|
||||
|
||||
["number", "0o0123_4567"],
|
||||
["number", "0o755"],
|
||||
|
||||
["number", "0b1101_0110"],
|
||||
|
||||
["number", "+1.0"],
|
||||
["number", "3.1415"],
|
||||
["number", "-0.01"],
|
||||
["number", "5e+22"],
|
||||
["number", "1e6"],
|
||||
["number", "1e1_000"],
|
||||
["number", "-2E-2"],
|
||||
["number", "6.626e-34"],
|
||||
["number", "9_224_617.445_991_228_313"],
|
||||
|
||||
["number", "inf"],
|
||||
["number", "+inf"],
|
||||
["number", "-inf"],
|
||||
["number", "nan"],
|
||||
["number", "+nan"],
|
||||
["number", "-nan"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for numbers.
|
@ -0,0 +1,29 @@
|
||||
""
|
||||
"abc"
|
||||
"\""
|
||||
''
|
||||
'#'
|
||||
'"abc"'
|
||||
"""
|
||||
abc
|
||||
"""
|
||||
'''
|
||||
abc
|
||||
'''
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"abc\""],
|
||||
["string", "\"\\\"\""],
|
||||
["string", "''"],
|
||||
["string", "'#'"],
|
||||
["string", "'\"abc\"'"],
|
||||
["string", "\"\"\"\n\tabc\n\t\"\"\""],
|
||||
["string", "'''\n\tabc\n\t'''"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings.
|
@ -0,0 +1,20 @@
|
||||
[table]
|
||||
[[array]]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["punctuation", "["],
|
||||
["table", "table"],
|
||||
["punctuation", "]"],
|
||||
|
||||
["punctuation", "["],
|
||||
["punctuation", "["],
|
||||
["table", "array"],
|
||||
["punctuation", "]"],
|
||||
["punctuation", "]"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for tables.
|
Reference in New Issue
Block a user