<?xml version="1.0"?>
-<SyntaxDefinition xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008" extensions=".lua" name="Lua">
<Color name="Comment" foreground="#69676c"/>
<Color name="String" foreground="#fce566"/>
<Color name="Foreground" foreground="#8b888f"/>
<Color name="Punctuation" foreground="#fc618d"/>
<Color name="MethodCall" foreground="#7bd88f" fontWeight="bold"/>
<Color name="Literals" foreground="#948ae3"/>
<Color name="Keywords" foreground="#fc618d" fontWeight="bold"/>
<Color name="Escapes" foreground="#948ae3"/>
-<RuleSet>
<!-- Mark previous rule-->
<Rule color="MethodCall">\b[\d\w_]+ # an identifier(?=\s*\() # followed by ( </Rule>
<Rule color="MethodCall">\b[\d\w_]+ # an identifier(?=\s*\{) # followed by { </Rule>
<Rule color="Punctuation">[\)\(*\&\^\%\$\#@!\\\]\[;':",./<>?\{\}\|\-\=\+]+ </Rule>
-<Span color="Comment" multiline="true">
<Begin>--\[[=]*\[</Begin>
<End>\][=]*\]</End>
</Span>
-<Span color="Comment">
<Begin>--</Begin>
</Span>
-<Span color="String">
<Begin color="Foreground">"</Begin>
<End color="Foreground">"</End>
-<RuleSet>
<Rule color="Escapes">\\\d{1,3}|\\.</Rule>
</RuleSet>
</Span>
-<Span color="String">
<Begin color="Foreground">'</Begin>
<End color="Foreground">'</End>
-<RuleSet>
<Rule color="Escapes">\\\d\d?\d?|\\.</Rule>
</RuleSet>
</Span>
-<Span color="String" multiline="true">
<Begin color="Foreground">\[[=]*\[</Begin>
<End color="Foreground">\][=]*]</End>
</Span>
-<Keywords color="Literals">
<Word>true</Word>
<Word>false</Word>
</Keywords>
-<Keywords color="Keywords">
<Word>and</Word>
<Word>break</Word>
<Word>continue</Word>
<Word>do</Word>
<Word>else</Word>
<Word>elseif</Word>
<Word>end</Word>
<Word>false</Word>
<Word>for</Word>
<Word>function</Word>
<Word>if</Word>
<Word>in</Word>
<Word>local</Word>
<Word>not</Word>
<Word>or</Word>
<Word>repeat</Word>
<Word>return</Word>
<Word>then</Word>
<Word>true</Word>
<Word>until</Word>
<Word>while</Word>
</Keywords>
-<Keywords color="MethodCall">
<Word>print</Word>
<Word>warn</Word>
<Word>error</Word>
<Word>isreadonly</Word>
<Word>XPROTECT</Word>
<Word>LUAPROTECT</Word>
<Word>setreadonly</Word>
<Word>readfile</Word>
<Word>writefile</Word>
<Word>getrawmetatable</Word>
<Word>setmetatable</Word>
<Word>setclipboard</Word>
<Word>luaformat</Word>
<Word>RandomString</Word>
<Word>ReplaceString</Word>
<Word>HttpPost</Word>
<Word>queue_on_teleport</Word>
<Word>GetObjects</Word>
<Word>gethwid</Word>
<Word>getnilinstances</Word>
<Word>getgenv</Word>
<Word>getrenv</Word>
<Word>getreg</Word>
<Word>getgc</Word>
<Word>checkcaller</Word>
<Word>getloadedmodules</Word>
<Word>getconnections</Word>
</Keywords>
-<Keywords color="Literals">
<Word>nil</Word>
</Keywords>
<!-- Digits -->
<Rule color="Literals">\b0[xX][0-9a-fA-F]+ # hex number|( \b\d+(\.[0-9]+)? #number with optional floating point| \.[0-9]+ #or just starting with floating point)([eE][+-]?[0-9]+)? # optional exponent </Rule>
</RuleSet>
</SyntaxDefinition>
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}