-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathNetLinx.erb.tmLanguage
76 lines (76 loc) · 1.78 KB
/
NetLinx.erb.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>axs.erb</string>
<string>axi.erb</string>
</array>
<key>firstLineMatch</key>
<string>-[*]-( Mode:)? C -[*]-</string>
<key>foldingStartMarker</key>
<string>(?x)
/\*\*(?!\*)
|^(?![^{]*?//|[^{]*?/\*(?!.*?\*/.*?\{)).*?\{\s*($|//|/\*(?!.*?\*/.*\S))
</string>
<key>foldingStopMarker</key>
<string>(?<!\*)\*\*/|^\s*\}</string>
<key>keyEquivalent</key>
<string>^~C</string>
<key>name</key>
<string>NetLinx ERB</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#erb</string>
</dict>
<dict>
<key>include</key>
<string>source.netlinx</string>
</dict>
</array>
<key>repository</key>
<dict>
<key>erb</key>
<dict>
<key>begin</key>
<string><%</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.scope.netlinx.erb</string>
</dict>
</dict>
<key>comment</key>
<string>Ruby ERB blocks nested in NetLinx code</string>
<key>end</key>
<string>%></string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.scope.netlinx.erb</string>
</dict>
</dict>
<key>name</key>
<string>meta.block.netlinx.erb</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.ruby</string>
</dict>
</array>
</dict>
</dict>
<key>scopeName</key>
<string>source.netlinx.erb</string>
<key>uuid</key>
<string>25066DC2-6B1D-11D9-9D5B-000D93589AF6</string>
</dict>
</plist>