-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathImpactJS.JSON-tmLanguage
62 lines (62 loc) · 1.13 KB
/
ImpactJS.JSON-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
{
"name": "ImpactJS",
"scopeName": "source.js.impact",
"patterns": [
{
"match": "(ig)\\.(module)\\(",
"captures": {
"1": {
"name": "support.variable.impact.namespace"
},
"2": {
"name": "support.function.impact"
}
}
},
{
"match": "\\b((ig)\\.(KEY)\\.([a-zA-Z0-9_]*))\\b",
"captures": {
"1": {
"name": "support.constant.impact.keys"
},
"2": {
"name": "support.variable.impact.namespace"
},
"3": {
"name": "support.constant.impact"
},
"4": {
"name": "support.constant.impact"
}
}
},
{
"match": "\\.(requires|defines|extend)\\(",
"captures": {
"1": {
"name": "support.function.impact"
}
}
},
{
"match": "\\b(ig)\\b",
"captures": {
"1": {
"name": "support.variable.impact.namespace"
}
}
},
{
"match": "\\b(Entity[a-zA-Z0-9]+)\\b",
"captures": {
"1": {
"name": "entity.name.type.impact.entity"
}
}
},
{
"include": "source.js"
}
],
"uuid": "fadaa18d-154c-45fb-98e3-64c3f4e4cbeb"
}