Skip to content

Instantly share code, notes, and snippets.

@jakzal
Created May 30, 2014 20:14
Show Gist options
  • Save jakzal/ad98ec63a98f5cffcca6 to your computer and use it in GitHub Desktop.
Save jakzal/ad98ec63a98f5cffcca6 to your computer and use it in GitHub Desktop.
Highlight themes
Description="PHP"
Keywords={
{ Id=1,
List={"abstract", "and", "array", "as", "break", "case", "catch", "cfunction", "class", "clone", "const",
"continue", "declare", "default", "do", "else", "elseif", "enddeclare", "endfor", "endforeach", "endif",
"endswitch", "endwhile", "extends", "final", "for", "foreach", "function", "global", "goto", "if", "implements",
"interface", "instanceof", "namespace", "new", "old_function", "or", "private", "protected", "public", "static",
"switch", "throw", "try", "use", "var", "while", "xor", "__CLASS__", "__DIR__", "__FILE__", "__FUNCTION__",
"__METHOD__", "__NAMESPACE__", "die", "echo", "empty", "exit", "eval", "include", "include_once", "isset", "list",
"require", "require_once", "return", "print", "unset"},
},
{ Id=2,
List={"int", "integer", "real", "double", "float", "string", "array", "object"},
},
{ Id=3,
Regex=[[\$\w+]],
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
--Interpolation=[[ \$[\w\[\]\->]+ ]],
}
IgnoreCase=true
Comments={
{ Block=false,
Delimiter= { [[\/\/|\#]] },
},
{ Block=true,
Nested=false,
Delimiter= { [[\/\*]],[[\*\/]],}
}
}
Operators=[[\:|\&|<|>|\!|\=|\/|\*|\|\+|\-|\.|\@]]
Description="Symfony Dark"
Default = { Colour="#ffffff" }
Canvas = { Colour="#fdf6e3" }
Number = { Colour="#dc322f" }
Escape = { Colour="#6c71c4" }
String = { Colour="#78AB46" }
StringPreProc = { Colour="#dc322f" }
BlockComment = { Colour="#93a1a1" }
PreProcessor = { Colour="#6c71c4" }
LineNum = { Colour="#268bd2" }
Operator = { Colour="#cb4b16" }
LineComment = BlockComment
Interpolation = Escape
Keywords = {
{ Colour= "#cb4b16" },
{ Colour= "#ffffff" },
{ Colour= "#ffffff" },
{ Colour= "#ffffff" },
}
Description="Symfony Light"
Default = { Colour="#000000" }
Canvas = { Colour="#fdf6e3" }
Number = { Colour="#dc322f" }
Escape = { Colour="#6c71c4" }
String = { Colour="#4A7023" }
StringPreProc = { Colour="#dc322f" }
BlockComment = { Colour="#93a1a1" }
PreProcessor = { Colour="#6c71c4" }
LineNum = { Colour="#268bd2" }
Operator = { Colour="#cb4b16" }
LineComment = BlockComment
Interpolation = Escape
Keywords = {
{ Colour= "#cb4b16" },
{ Colour= "#000000" },
{ Colour= "#000000" },
{ Colour= "#000000" },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment