-
Notifications
You must be signed in to change notification settings - Fork 1
/
ImpactJS.tmLanguage
99 lines (99 loc) · 2.07 KB
/
ImpactJS.tmLanguage
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
92
93
94
95
96
97
98
99
<?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>name</key>
<string>ImpactJS</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.variable.impact.namespace</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>support.function.impact</string>
</dict>
</dict>
<key>match</key>
<string>(ig)\.(module)\(</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.constant.impact.keys</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>support.variable.impact.namespace</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>support.constant.impact</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>support.constant.impact</string>
</dict>
</dict>
<key>match</key>
<string>\b((ig)\.(KEY)\.([a-zA-Z0-9_]*))\b</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.function.impact</string>
</dict>
</dict>
<key>match</key>
<string>\.(requires|defines|extend)\(</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>support.variable.impact.namespace</string>
</dict>
</dict>
<key>match</key>
<string>\b(ig)\b</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.name.type.impact.entity</string>
</dict>
</dict>
<key>match</key>
<string>\b(Entity[a-zA-Z0-9]+)\b</string>
</dict>
<dict>
<key>include</key>
<string>source.js</string>
</dict>
</array>
<key>scopeName</key>
<string>source.js.impact</string>
<key>uuid</key>
<string>fadaa18d-154c-45fb-98e3-64c3f4e4cbeb</string>
</dict>
</plist>