forked from psemiletov/tea-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathd.xml
23 lines (12 loc) · 1.16 KB
/
d.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<document exts="d" langs="D">
<item name="options" wrap="0" xml_format="1"></item>
<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\b(alias|align|assert|auto|body|break|case|cast|catch|class|const|continue|default|delegate|delete|do|else|enum|finally|for|foreach|function|if|import|in|is|module|new|out|private|private|public|return|scope|static|struct|super|switch|template|this|throw|try|typedef|typeof|union|version|volatile|while)\b</item>
<item name="types" type="keywords" color="type">\b(bit|bool||byte|cdouble|cent|cfloat|char|creal|dchar|double|float|ifloat|ifoduble|int|ireal|long|real|short|ubyte|ucent|uint|ulong|ushort|void|wchar)\b</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>