File: lua.xml

package info (click to toggle)
tea 63.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,400 kB
  • sloc: cpp: 26,688; ansic: 9,471; xml: 420; makefile: 5
file content (29 lines) | stat: -rw-r--r-- 1,298 bytes parent folder | download | duplicates (3)
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
<document pattern="^.*\.(lua)$">

<item name="options" wrap="0"></item>

<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\b(and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b</item>

<item name="functions" type="keywords" color="functions">\b(_G|_VERSION|assert|collectgarbage|dofile|error|getenv|getmetatable|ipairs|load|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\b</item>

<item name="preproc" type="item" color="preproc" fontstyle="italic">^#.*</item>

<item name="operator" type="item" color="operator">[-=\+\*\/\|]</item>

<item name="bracket" type="item" color="brackets">[\(\)\[\]]</item>

<item name="quotes" type="item" color="quotes">("[^\"]*")</item>

<item name="char" type="item" color="quotes">('[^']*')</item>

<item name="single comment" type="item" color="single comment" fontstyle="italic">--[^\n]*</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>

<item name="cm_single" type="comment">--%s</item>

</document>