1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
<document exts="lua" langs="lua">
<item name="options" wrap="0">
</item>
<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\band\b;
\bbreak\b;
\bdo\b;
\belse\b;
\belseif\b;
\bend\b;
\bfalse\b;
\bfor\b;
\bfunction\b;
\bif\b;
\bin\b;
\blocal\b;
\bnil\b;
\bnot\b;
\bor\b;
\brepeat\b;
\breturn\b;
\bthen\b;
\btrue\b;
\buntil\b;
\bwhile\b</item>
<item name="functions" type="keywords" color="functions">\bassert\b;
\bcollectgarbage\b;
\bdofile\b;
\berror\b;
\b_G\b;
\bgetenv\b;
\bgetmetatable\b;
\bipairs\b;
\bload\b;
\bloadfile\b;
\bloadstring\b;
\bnext\b;
\bpairs\b;
\bpcall\b;
\bprint\b;
\brawequal\b;
\brawget\b;
\brawset\b;
\bselect\b;
\bsetfenv\b;
\bsetmetatable\b;
\btonumber\b;
\btostring\b;
\btype\b;
\bunpack\b;
\b_VERSION\b;
\bxpcall\b;
\bmodule\b;
\brequire\b</item>
<item name="preproc" type="item" color="preproc" fontstyle="italic">
^#.*
</item>
<item name="single comment" type="item" color="single comment" fontstyle="bold">
--[^\n]*
</item>
<item name="cm_single" type="comment">--%s</item>
<item name="quotes" type="item" color="quotes" fontstyle="italic">
".*"
</item>
<item name="char" type="item" color="quotes" fontstyle="italic">
'.*'
</item>
<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">
--\[\[
</item>
<item name="mcomment-end" type="mcomment-end">
--\]\]
</item>
<item name="cm_mult" type="comment">--[[%s--]]</item>
</document>
|