use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,93 @@
|
||||
this
|
||||
abstract
|
||||
as
|
||||
break
|
||||
case
|
||||
cast
|
||||
catch
|
||||
class
|
||||
continue
|
||||
default
|
||||
do
|
||||
dynamic
|
||||
else
|
||||
enum
|
||||
extends
|
||||
extern
|
||||
from
|
||||
for
|
||||
function
|
||||
if
|
||||
implements
|
||||
import
|
||||
in
|
||||
inline
|
||||
interface
|
||||
macro
|
||||
new
|
||||
null
|
||||
override
|
||||
public
|
||||
private
|
||||
return
|
||||
static
|
||||
super
|
||||
switch
|
||||
throw
|
||||
to
|
||||
try
|
||||
typedef
|
||||
using
|
||||
var
|
||||
while
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "this"],
|
||||
["keyword", "abstract"],
|
||||
["keyword", "as"],
|
||||
["keyword", "break"],
|
||||
["keyword", "case"],
|
||||
["keyword", "cast"],
|
||||
["keyword", "catch"],
|
||||
["keyword", "class"],
|
||||
["keyword", "continue"],
|
||||
["keyword", "default"],
|
||||
["keyword", "do"],
|
||||
["keyword", "dynamic"],
|
||||
["keyword", "else"],
|
||||
["keyword", "enum"],
|
||||
["keyword", "extends"],
|
||||
["keyword", "extern"],
|
||||
["keyword", "from"],
|
||||
["keyword", "for"],
|
||||
["keyword", "function"],
|
||||
["keyword", "if"],
|
||||
["keyword", "implements"],
|
||||
["keyword", "import"],
|
||||
["keyword", "in"],
|
||||
["keyword", "inline"],
|
||||
["keyword", "interface"],
|
||||
["keyword", "macro"],
|
||||
["keyword", "new"],
|
||||
["keyword", "null"],
|
||||
["keyword", "override"],
|
||||
["keyword", "public"],
|
||||
["keyword", "private"],
|
||||
["keyword", "return"],
|
||||
["keyword", "static"],
|
||||
["keyword", "super"],
|
||||
["keyword", "switch"],
|
||||
["keyword", "throw"],
|
||||
["keyword", "to"],
|
||||
["keyword", "try"],
|
||||
["keyword", "typedef"],
|
||||
["keyword", "using"],
|
||||
["keyword", "var"],
|
||||
["keyword", "while"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for keywords.
|
@ -0,0 +1,15 @@
|
||||
@author("Nicolas")
|
||||
@debug
|
||||
@:noCompletion
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["metadata", "@author"], ["punctuation", "("], ["string", ["\"Nicolas\""]], ["punctuation", ")"],
|
||||
["metadata", "@debug"],
|
||||
["metadata", "@:noCompletion"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for metadata.
|
@ -0,0 +1,29 @@
|
||||
...
|
||||
+ ++
|
||||
- -- ->
|
||||
= ==
|
||||
! !=
|
||||
& &&
|
||||
| ||
|
||||
< <= <<
|
||||
> >= >>
|
||||
* / % ~ ^
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "..."],
|
||||
["operator", "+"], ["operator", "++"],
|
||||
["operator", "-"], ["operator", "--"], ["operator", "->"],
|
||||
["operator", "="], ["operator", "=="],
|
||||
["operator", "!"], ["operator", "!="],
|
||||
["operator", "&"], ["operator", "&&"],
|
||||
["operator", "|"], ["operator", "||"],
|
||||
["operator", "<"], ["operator", "<="], ["operator", "<<"],
|
||||
["operator", ">"], ["operator", ">="], ["operator", ">>"],
|
||||
["operator", "*"], ["operator", "/"], ["operator", "%"], ["operator", "~"], ["operator", "^"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for operators.
|
@ -0,0 +1,17 @@
|
||||
#if
|
||||
#elseif
|
||||
#else
|
||||
#end
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["preprocessor", "#if"],
|
||||
["preprocessor", "#elseif"],
|
||||
["preprocessor", "#else"],
|
||||
["preprocessor", "#end"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for preprocessor directives.
|
@ -0,0 +1,15 @@
|
||||
~/ha\/xe/i
|
||||
~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i
|
||||
~/(dog|fox)/igmsu
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["regex", "~/ha\\/xe/i"],
|
||||
["regex", "~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i"],
|
||||
["regex", "~/(dog|fox)/igmsu"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for regexes.
|
@ -0,0 +1,16 @@
|
||||
$e
|
||||
${4+2}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["reification", "$e"],
|
||||
["reification", "$"],
|
||||
["punctuation", "{"],
|
||||
["number", "4"], ["operator", "+"], ["number", "2"],
|
||||
["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for reification.
|
@ -0,0 +1,37 @@
|
||||
""
|
||||
"Foo
|
||||
\"bar\"
|
||||
baz"
|
||||
"$bar ${4+2}"
|
||||
''
|
||||
'Foo
|
||||
\'bar\'
|
||||
baz'
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", ["\"\""]],
|
||||
["string", ["\"Foo\r\n\\\"bar\\\"\r\nbaz\""]],
|
||||
["string", [
|
||||
"\"",
|
||||
["interpolation", [
|
||||
["interpolation", "$bar"]
|
||||
]],
|
||||
["interpolation", [
|
||||
["interpolation", "$"],
|
||||
["punctuation", "{"],
|
||||
["number", "4"],
|
||||
["operator", "+"],
|
||||
["number", "2"],
|
||||
["punctuation", "}"]
|
||||
]],
|
||||
"\""
|
||||
]],
|
||||
["string", ["''"]],
|
||||
["string", ["'Foo\r\n\\'bar\\'\r\nbaz'"]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings and string interpolation.
|
Reference in New Issue
Block a user