-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChoice Script.tmLanguage
More file actions
83 lines (83 loc) · 2.24 KB
/
Copy pathChoice Script.tmLanguage
File metadata and controls
83 lines (83 loc) · 2.24 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>txt</string>
</array>
<key>name</key>
<string>Choice Script</string>
<key>patterns</key>
<array>
<dict>
<key>comment</key>
<string>comment</string>
<key>match</key>
<string>\*comment.+</string>
<key>name</key>
<string>comment.line.cs</string>
</dict>
<dict>
<key>comment</key>
<string>pound key</string>
<key>match</key>
<string>#(.|w)+</string>
<key>name</key>
<string>entity.name.function</string>
</dict>
<dict>
<key>comment</key>
<string>todo</string>
<key>match</key>
<string>todo|TODO</string>
<key>name</key>
<string>invalid.illegal.cs</string>
</dict>
<dict>
<key>comment</key>
<string>variables</string>
<key>match</key>
<string>\$!?{\w+}|</string>
<key>name</key>
<string>constant.language.cs</string>
</dict>
<dict>
<key>comment</key>
<string>keywords</string>
<key>match</key>
<string>\*(allow_reuse|choice|create|delete|percent|disable_reuse|else|elseif|elsif|ending|finish|fake_choice|gosub|goto_scene|goto|goto_random_scene|hide_reuse|if|input_text|input_number|image|label|line_break|link|more_games|page_break|print|rand|return|set|share_this_game|stat_chart|selectable_if|temp|text|opposed_pair|setref|gotoref)</string>
<key>name</key>
<string>keyword.control.cs</string>
</dict>
<dict>
<key>comment</key>
<string>logic</string>
<key>match</key>
<string>!=|=|>|<|>=|<=|%|&</string>
<key>name</key>
<string>keyword.operator.cs</string>
</dict>
<dict>
<key>comment</key>
<string>numbers and bools</string>
<key>match</key>
<string>[^(a-zA-Z)]\d+|true|false|((\+|-)\d+)</string>
<key>name</key>
<string>variable.parameter.cs</string>
</dict>
<dict>
<key>comment</key>
<string>quotation marks</string>
<key>match</key>
<string>(")([^"]|"")*(")</string>
<key>name</key>
<string>variable.parameter.cs</string>
</dict>
</array>
<key>scopeName</key>
<string>source.cs</string>
<key>uuid</key>
<string>c4ce72c6-2a40-4270-8d8c-c700517a65a5</string>
</dict>
</plist>