rmthemegen 0.0.38 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. data/.project +18 -0
  2. data/bin/geanyfy.rb +4 -41
  3. data/lib/rmthemegen/basis_theme.tmTheme +971 -0
  4. data/lib/rmthemegen/geany.filetypes.all +2945 -0
  5. data/lib/rmthemegen/plist.html +246 -0
  6. data/lib/rmthemegen/plist_to_tokenlist.rb +242 -0
  7. data/lib/rmthemegen/rmtg_rubymine.rb +196 -0
  8. data/lib/rmthemegen/rmtg_textmate.rb +262 -0
  9. data/lib/rmthemegen/rmthemegen_187.rb +32 -233
  10. data/lib/rmthemegen/rmthemegen_parent.rb +235 -0
  11. data/lib/rmthemegen/rmthemegen_to_css.rb +1 -0
  12. data/lib/rmthemegen/syntaxes/Apache.plist +544 -0
  13. data/lib/rmthemegen/syntaxes/Bibtex.plist +406 -0
  14. data/lib/rmthemegen/syntaxes/Blog___HTML__.plist +88 -0
  15. data/lib/rmthemegen/syntaxes/Blog___Markdown__.plist +89 -0
  16. data/lib/rmthemegen/syntaxes/Blog___Text__.plist +74 -0
  17. data/lib/rmthemegen/syntaxes/Blog___Textile__.plist +74 -0
  18. data/lib/rmthemegen/syntaxes/C.plist +1126 -0
  19. data/lib/rmthemegen/syntaxes/CSS.plist +543 -0
  20. data/lib/rmthemegen/syntaxes/C____.plist +521 -0
  21. data/lib/rmthemegen/syntaxes/ClojureRepl.plist +40 -0
  22. data/lib/rmthemegen/syntaxes/Diff.plist +229 -0
  23. data/lib/rmthemegen/syntaxes/GroovyRepl.plist +40 -0
  24. data/lib/rmthemegen/syntaxes/HTML.plist +960 -0
  25. data/lib/rmthemegen/syntaxes/HTML___Rails__.plist +92 -0
  26. data/lib/rmthemegen/syntaxes/Haskell.plist +646 -0
  27. data/lib/rmthemegen/syntaxes/Io.plist +225 -0
  28. data/lib/rmthemegen/syntaxes/Java.plist +1156 -0
  29. data/lib/rmthemegen/syntaxes/JavaProperties.plist +70 -0
  30. data/lib/rmthemegen/syntaxes/JavaScript.plist +712 -0
  31. data/lib/rmthemegen/syntaxes/LaTeX.plist +1601 -0
  32. data/lib/rmthemegen/syntaxes/LaTeX_Beamer.plist +106 -0
  33. data/lib/rmthemegen/syntaxes/LaTeX_Log.plist +141 -0
  34. data/lib/rmthemegen/syntaxes/Lisp.plist +160 -0
  35. data/lib/rmthemegen/syntaxes/Literate_Haskell.plist +90 -0
  36. data/lib/rmthemegen/syntaxes/Makefile.plist +103 -0
  37. data/lib/rmthemegen/syntaxes/Markdown.plist +1192 -0
  38. data/lib/rmthemegen/syntaxes/Mirah.plist +22 -0
  39. data/lib/rmthemegen/syntaxes/PHP.plist +3481 -0
  40. data/lib/rmthemegen/syntaxes/PHP.xml +3481 -0
  41. data/lib/rmthemegen/syntaxes/Perl.plist +3209 -0
  42. data/lib/rmthemegen/syntaxes/Plain_text.plist +83 -0
  43. data/lib/rmthemegen/syntaxes/Processing.plist +296 -0
  44. data/lib/rmthemegen/syntaxes/Rez.plist +219 -0
  45. data/lib/rmthemegen/syntaxes/Ruby.plist +2891 -0
  46. data/lib/rmthemegen/syntaxes/RubyRepl.plist +40 -0
  47. data/lib/rmthemegen/syntaxes/Ruby_on_Rails.plist +288 -0
  48. data/lib/rmthemegen/syntaxes/SQL.plist +705 -0
  49. data/lib/rmthemegen/syntaxes/SQL___Rails__.plist +51 -0
  50. data/lib/rmthemegen/syntaxes/Shell__Unix__Generic.plist +1855 -0
  51. data/lib/rmthemegen/syntaxes/TeX.plist +246 -0
  52. data/lib/rmthemegen/syntaxes/TeX_Math.plist +132 -0
  53. data/lib/rmthemegen/syntaxes/Textile.plist +490 -0
  54. data/lib/rmthemegen/syntaxes/Vala.plist +285 -0
  55. data/lib/rmthemegen/syntaxes/XML.plist +576 -0
  56. data/lib/rmthemegen/syntaxes/XSL.plist +157 -0
  57. data/lib/rmthemegen/syntaxes/YAML.plist +467 -0
  58. data/lib/rmthemegen/textmate_themes/Active4D.tmTheme +407 -0
  59. data/lib/rmthemegen/textmate_themes/All Hallow's Eve Custom.tmTheme +273 -0
  60. data/lib/rmthemegen/textmate_themes/All Hallow's Eve.tmTheme +277 -0
  61. data/lib/rmthemegen/textmate_themes/Amy.tmTheme +557 -0
  62. data/lib/rmthemegen/textmate_themes/BBEdit.tmTheme +437 -0
  63. data/lib/rmthemegen/textmate_themes/Black Pearl II.tmTheme +496 -0
  64. data/lib/rmthemegen/textmate_themes/Black Pearl.tmTheme +400 -0
  65. data/lib/rmthemegen/textmate_themes/Blackboard Black.tmTheme +350 -0
  66. data/lib/rmthemegen/textmate_themes/Blackboard.tmTheme +350 -0
  67. data/lib/rmthemegen/textmate_themes/Bongzilla.tmTheme +223 -0
  68. data/lib/rmthemegen/textmate_themes/Brilliance Black.tmTheme +2619 -0
  69. data/lib/rmthemegen/textmate_themes/Brilliance Dull.tmTheme +2243 -0
  70. data/lib/rmthemegen/textmate_themes/CSSEdit.tmTheme +203 -0
  71. data/lib/rmthemegen/textmate_themes/Clouds Midnight.tmTheme +361 -0
  72. data/lib/rmthemegen/textmate_themes/Clouds.tmTheme +348 -0
  73. data/lib/rmthemegen/textmate_themes/Cobalt.tmTheme +559 -0
  74. data/lib/rmthemegen/textmate_themes/Coda.tmTheme +313 -0
  75. data/lib/rmthemegen/textmate_themes/Cool Glow.tmTheme +350 -0
  76. data/lib/rmthemegen/textmate_themes/Dawn.tmTheme +437 -0
  77. data/lib/rmthemegen/textmate_themes/Django (Smoothy).tmTheme +453 -0
  78. data/lib/rmthemegen/textmate_themes/Django.tmTheme +436 -0
  79. data/lib/rmthemegen/textmate_themes/Eiffel.tmTheme +439 -0
  80. data/lib/rmthemegen/textmate_themes/Emacs Strict.tmTheme +241 -0
  81. data/lib/rmthemegen/textmate_themes/Espresso Libre.tmTheme +402 -0
  82. data/lib/rmthemegen/textmate_themes/Espresso Tutti.tmTheme +392 -0
  83. data/lib/rmthemegen/textmate_themes/Espresso.tmTheme +329 -0
  84. data/lib/rmthemegen/textmate_themes/Fade to Grey.tmTheme +308 -0
  85. data/lib/rmthemegen/textmate_themes/Fluidvision.tmTheme +443 -0
  86. data/lib/rmthemegen/textmate_themes/ForLaTeX.tmTheme +214 -0
  87. data/lib/rmthemegen/textmate_themes/Freckle.tmTheme +279 -0
  88. data/lib/rmthemegen/textmate_themes/Friendship Bracelet.tmTheme +303 -0
  89. data/lib/rmthemegen/textmate_themes/GitHub.tmTheme +653 -0
  90. data/lib/rmthemegen/textmate_themes/GlitterBomb.tmTheme +387 -0
  91. data/lib/rmthemegen/textmate_themes/Happy happy joy joy 2.tmTheme +841 -0
  92. data/lib/rmthemegen/textmate_themes/IDLE.tmTheme +235 -0
  93. data/lib/rmthemegen/textmate_themes/IR_Black.tmTheme +810 -0
  94. data/lib/rmthemegen/textmate_themes/IR_White.tmTheme +792 -0
  95. data/lib/rmthemegen/textmate_themes/LAZY.tmTheme +291 -0
  96. data/lib/rmthemegen/textmate_themes/Lowlight.tmTheme +605 -0
  97. data/lib/rmthemegen/textmate_themes/Mac Classic.tmTheme +450 -0
  98. data/lib/rmthemegen/textmate_themes/Made of Code.tmTheme +695 -0
  99. data/lib/rmthemegen/textmate_themes/MagicWB (Amiga).tmTheme +376 -0
  100. data/lib/rmthemegen/textmate_themes/Merbivore Soft.tmTheme +285 -0
  101. data/lib/rmthemegen/textmate_themes/Merbivore.tmTheme +285 -0
  102. data/lib/rmthemegen/textmate_themes/Monokai.tmTheme +289 -0
  103. data/lib/rmthemegen/textmate_themes/MultiMarkdown.tmTheme +183 -0
  104. data/lib/rmthemegen/textmate_themes/Pastels on Dark.tmTheme +701 -0
  105. data/lib/rmthemegen/textmate_themes/Pastie.tmTheme +321 -0
  106. data/lib/rmthemegen/textmate_themes/Putty.tmTheme +275 -0
  107. data/lib/rmthemegen/textmate_themes/RDark.tmTheme +235 -0
  108. data/lib/rmthemegen/textmate_themes/Rails Envy.tmTheme +299 -0
  109. data/lib/rmthemegen/textmate_themes/Railscasts.tmTheme +278 -0
  110. data/lib/rmthemegen/textmate_themes/Ryan Light.tmTheme +232 -0
  111. data/lib/rmthemegen/textmate_themes/Slush & Poppies.tmTheme +336 -0
  112. data/lib/rmthemegen/textmate_themes/Smoothy.tmTheme +623 -0
  113. data/lib/rmthemegen/textmate_themes/SpaceCadet.tmTheme +212 -0
  114. data/lib/rmthemegen/textmate_themes/Spectacular.tmTheme +436 -0
  115. data/lib/rmthemegen/textmate_themes/Starlight.tmTheme +111 -0
  116. data/lib/rmthemegen/textmate_themes/Summer Camp Mod.tmTheme +229 -0
  117. data/lib/rmthemegen/textmate_themes/Summer Camp.tmTheme +229 -0
  118. data/lib/rmthemegen/textmate_themes/Sunburst.tmTheme +665 -0
  119. data/lib/rmthemegen/textmate_themes/Swyphs II.tmTheme +306 -0
  120. data/lib/rmthemegen/textmate_themes/Tango.tmTheme +450 -0
  121. data/lib/rmthemegen/textmate_themes/Text Ex Machina.tmTheme +295 -0
  122. data/lib/rmthemegen/textmate_themes/Tubster.tmTheme +280 -0
  123. data/lib/rmthemegen/textmate_themes/Twilight.tmTheme +518 -0
  124. data/lib/rmthemegen/textmate_themes/Vibrant Fin.tmTheme +447 -0
  125. data/lib/rmthemegen/textmate_themes/Vibrant Ink.tmTheme +447 -0
  126. data/lib/rmthemegen/textmate_themes/Vibrant Tango.tmTheme +438 -0
  127. data/lib/rmthemegen/textmate_themes/WhysPoignant.tmTheme +191 -0
  128. data/lib/rmthemegen/textmate_themes/Zenburnesque.tmTheme +343 -0
  129. data/lib/rmthemegen/textmate_themes/[ Argonaut ].tmTheme +387 -0
  130. data/lib/rmthemegen/textmate_themes/choco.tmTheme +542 -0
  131. data/lib/rmthemegen/textmate_themes/fake.tmTheme +669 -0
  132. data/lib/rmthemegen/textmate_themes/iLife 05.tmTheme +619 -0
  133. data/lib/rmthemegen/textmate_themes/iPlastic.tmTheme +286 -0
  134. data/lib/rmthemegen/textmate_themes/idleFingers.tmTheme +380 -0
  135. data/lib/rmthemegen/textmate_themes/krTheme.tmTheme +551 -0
  136. data/lib/rmthemegen/textmate_themes/monoindustrial.tmTheme +451 -0
  137. data/lib/rmthemegen/token_list.rb +171 -101
  138. data/lib/rmthemegen/uv_addons.rb +176 -0
  139. data/rmthemegen.gemspec +4 -1
  140. data/spec/rmthemegen/plist_to_tokenlist_spec.rb +0 -0
  141. data/test/choco.css +138 -0
  142. data/test/choco.render +136 -0
  143. data/test/get_tm_scopes.rb +79 -0
  144. data/test/get_tm_tokens.rb +0 -3
  145. data/test/newtheme.sh +6 -0
  146. data/test/output +14 -0
  147. data/test/rexml.element.methods +100 -0
  148. data/test/scopes_harvested +61 -0
  149. data/test/scopes_harvested.rb +15 -0
  150. data/test/test_generate_themes.rb +75 -38
  151. metadata +198 -13
  152. data/lib/rmthemegen/index.html +0 -2
  153. data/lib/rmthemegen/rmthemegen_187_textmate.rb +0 -155
  154. data/test/rmt_beautiful_quality.tmTheme +0 -399
  155. data/test/rmt_beautiful_quality.xml +0 -2089
@@ -0,0 +1,960 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>fileTypes</key>
6
+ <array>
7
+ <string>html</string>
8
+ <string>htm</string>
9
+ <string>shtml</string>
10
+ <string>xhtml</string>
11
+ <string>phtml</string>
12
+ <string>php</string>
13
+ <string>inc</string>
14
+ <string>tmpl</string>
15
+ <string>tpl</string>
16
+ <string>ctp</string>
17
+ </array>
18
+ <key>foldingStartMarker</key>
19
+ <string>(?x)
20
+ (&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?&gt;
21
+ |&lt;!--(?!.*--\s*&gt;)
22
+ |^&lt;!--\ \#tminclude\ (?&gt;.*?--&gt;)$
23
+ |&lt;\?(?:php)?.*\b(if|for(each)?|while)\b.+:
24
+ |\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
25
+ |\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
26
+ )</string>
27
+ <key>foldingStopMarker</key>
28
+ <string>(?x)
29
+ (&lt;/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)&gt;
30
+ |^(?!.*?&lt;!--).*?--\s*&gt;
31
+ |^&lt;!--\ end\ tminclude\ --&gt;$
32
+ |&lt;\?(?:php)?.*\bend(if|for(each)?|while)\b
33
+ |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
34
+ |^[^{]*\}
35
+ )</string>
36
+ <key>keyEquivalent</key>
37
+ <string>^~H</string>
38
+ <key>name</key>
39
+ <string>HTML</string>
40
+ <key>patterns</key>
41
+ <array>
42
+ <dict>
43
+ <key>begin</key>
44
+ <string>(&lt;)([a-zA-Z0-9:]++)(?=[^&gt;]*&gt;&lt;/\2&gt;)</string>
45
+ <key>beginCaptures</key>
46
+ <dict>
47
+ <key>1</key>
48
+ <dict>
49
+ <key>name</key>
50
+ <string>punctuation.definition.tag.html</string>
51
+ </dict>
52
+ <key>2</key>
53
+ <dict>
54
+ <key>name</key>
55
+ <string>entity.name.tag.html</string>
56
+ </dict>
57
+ </dict>
58
+ <key>end</key>
59
+ <string>(&gt;(&lt;)/)(\2)(&gt;)</string>
60
+ <key>endCaptures</key>
61
+ <dict>
62
+ <key>1</key>
63
+ <dict>
64
+ <key>name</key>
65
+ <string>punctuation.definition.tag.html</string>
66
+ </dict>
67
+ <key>2</key>
68
+ <dict>
69
+ <key>name</key>
70
+ <string>meta.scope.between-tag-pair.html</string>
71
+ </dict>
72
+ <key>3</key>
73
+ <dict>
74
+ <key>name</key>
75
+ <string>entity.name.tag.html</string>
76
+ </dict>
77
+ <key>4</key>
78
+ <dict>
79
+ <key>name</key>
80
+ <string>punctuation.definition.tag.html</string>
81
+ </dict>
82
+ </dict>
83
+ <key>name</key>
84
+ <string>meta.tag.any.html</string>
85
+ <key>patterns</key>
86
+ <array>
87
+ <dict>
88
+ <key>include</key>
89
+ <string>#tag-stuff</string>
90
+ </dict>
91
+ </array>
92
+ </dict>
93
+ <dict>
94
+ <key>begin</key>
95
+ <string>(&lt;\?)(xml)</string>
96
+ <key>captures</key>
97
+ <dict>
98
+ <key>1</key>
99
+ <dict>
100
+ <key>name</key>
101
+ <string>punctuation.definition.tag.html</string>
102
+ </dict>
103
+ <key>2</key>
104
+ <dict>
105
+ <key>name</key>
106
+ <string>entity.name.tag.xml.html</string>
107
+ </dict>
108
+ </dict>
109
+ <key>end</key>
110
+ <string>(\?&gt;)</string>
111
+ <key>name</key>
112
+ <string>meta.tag.preprocessor.xml.html</string>
113
+ <key>patterns</key>
114
+ <array>
115
+ <dict>
116
+ <key>include</key>
117
+ <string>#tag-generic-attribute</string>
118
+ </dict>
119
+ <dict>
120
+ <key>include</key>
121
+ <string>#string-double-quoted</string>
122
+ </dict>
123
+ <dict>
124
+ <key>include</key>
125
+ <string>#string-single-quoted</string>
126
+ </dict>
127
+ </array>
128
+ </dict>
129
+ <dict>
130
+ <key>begin</key>
131
+ <string>&lt;!--</string>
132
+ <key>captures</key>
133
+ <dict>
134
+ <key>0</key>
135
+ <dict>
136
+ <key>name</key>
137
+ <string>punctuation.definition.comment.html</string>
138
+ </dict>
139
+ </dict>
140
+ <key>end</key>
141
+ <string>--\s*&gt;</string>
142
+ <key>name</key>
143
+ <string>comment.block.html</string>
144
+ <key>patterns</key>
145
+ <array>
146
+ <dict>
147
+ <key>match</key>
148
+ <string>--</string>
149
+ <key>name</key>
150
+ <string>invalid.illegal.bad-comments-or-CDATA.html</string>
151
+ </dict>
152
+ <dict>
153
+ <key>include</key>
154
+ <string>#embedded-code</string>
155
+ </dict>
156
+ </array>
157
+ </dict>
158
+ <dict>
159
+ <key>begin</key>
160
+ <string>&lt;!</string>
161
+ <key>captures</key>
162
+ <dict>
163
+ <key>0</key>
164
+ <dict>
165
+ <key>name</key>
166
+ <string>punctuation.definition.tag.html</string>
167
+ </dict>
168
+ </dict>
169
+ <key>end</key>
170
+ <string>&gt;</string>
171
+ <key>name</key>
172
+ <string>meta.tag.sgml.html</string>
173
+ <key>patterns</key>
174
+ <array>
175
+ <dict>
176
+ <key>begin</key>
177
+ <string>(DOCTYPE)</string>
178
+ <key>captures</key>
179
+ <dict>
180
+ <key>1</key>
181
+ <dict>
182
+ <key>name</key>
183
+ <string>entity.name.tag.doctype.html</string>
184
+ </dict>
185
+ </dict>
186
+ <key>end</key>
187
+ <string>(?=&gt;)</string>
188
+ <key>name</key>
189
+ <string>meta.tag.sgml.doctype.html</string>
190
+ <key>patterns</key>
191
+ <array>
192
+ <dict>
193
+ <key>match</key>
194
+ <string>"[^"&gt;]*"</string>
195
+ <key>name</key>
196
+ <string>string.quoted.double.doctype.identifiers-and-DTDs.html</string>
197
+ </dict>
198
+ </array>
199
+ </dict>
200
+ <dict>
201
+ <key>begin</key>
202
+ <string>\[CDATA\[</string>
203
+ <key>end</key>
204
+ <string>]](?=&gt;)</string>
205
+ <key>name</key>
206
+ <string>constant.other.inline-data.html</string>
207
+ </dict>
208
+ <dict>
209
+ <key>match</key>
210
+ <string>(\s*)(?!--|&gt;)\S(\s*)</string>
211
+ <key>name</key>
212
+ <string>invalid.illegal.bad-comments-or-CDATA.html</string>
213
+ </dict>
214
+ </array>
215
+ </dict>
216
+ <dict>
217
+ <key>include</key>
218
+ <string>#embedded-code</string>
219
+ </dict>
220
+ <dict>
221
+ <key>begin</key>
222
+ <string>(?:^\s+)?(&lt;)((?i:style))\b(?![^&gt;]*/&gt;)</string>
223
+ <key>captures</key>
224
+ <dict>
225
+ <key>1</key>
226
+ <dict>
227
+ <key>name</key>
228
+ <string>punctuation.definition.tag.html</string>
229
+ </dict>
230
+ <key>2</key>
231
+ <dict>
232
+ <key>name</key>
233
+ <string>entity.name.tag.style.html</string>
234
+ </dict>
235
+ <key>3</key>
236
+ <dict>
237
+ <key>name</key>
238
+ <string>punctuation.definition.tag.html</string>
239
+ </dict>
240
+ </dict>
241
+ <key>end</key>
242
+ <string>(&lt;/)((?i:style))(&gt;)(?:\s*\n)?</string>
243
+ <key>name</key>
244
+ <string>source.css.embedded.html</string>
245
+ <key>patterns</key>
246
+ <array>
247
+ <dict>
248
+ <key>include</key>
249
+ <string>#tag-stuff</string>
250
+ </dict>
251
+ <dict>
252
+ <key>begin</key>
253
+ <string>(&gt;)</string>
254
+ <key>beginCaptures</key>
255
+ <dict>
256
+ <key>1</key>
257
+ <dict>
258
+ <key>name</key>
259
+ <string>punctuation.definition.tag.html</string>
260
+ </dict>
261
+ </dict>
262
+ <key>end</key>
263
+ <string>(?=&lt;/(?i:style))</string>
264
+ <key>patterns</key>
265
+ <array>
266
+ <dict>
267
+ <key>include</key>
268
+ <string>#embedded-code</string>
269
+ </dict>
270
+ <dict>
271
+ <key>include</key>
272
+ <string>source.css</string>
273
+ </dict>
274
+ </array>
275
+ </dict>
276
+ </array>
277
+ </dict>
278
+ <dict>
279
+ <key>begin</key>
280
+ <string>(?:^\s+)?(&lt;)((?i:script))\b(?![^&gt;]*/&gt;)</string>
281
+ <key>beginCaptures</key>
282
+ <dict>
283
+ <key>1</key>
284
+ <dict>
285
+ <key>name</key>
286
+ <string>punctuation.definition.tag.html</string>
287
+ </dict>
288
+ <key>2</key>
289
+ <dict>
290
+ <key>name</key>
291
+ <string>entity.name.tag.script.html</string>
292
+ </dict>
293
+ </dict>
294
+ <key>end</key>
295
+ <string>(?&lt;=&lt;/(script|SCRIPT))(&gt;)(?:\s*\n)?</string>
296
+ <key>endCaptures</key>
297
+ <dict>
298
+ <key>2</key>
299
+ <dict>
300
+ <key>name</key>
301
+ <string>punctuation.definition.tag.html</string>
302
+ </dict>
303
+ </dict>
304
+ <key>name</key>
305
+ <string>source.js.embedded.html</string>
306
+ <key>patterns</key>
307
+ <array>
308
+ <dict>
309
+ <key>include</key>
310
+ <string>#tag-stuff</string>
311
+ </dict>
312
+ <dict>
313
+ <key>begin</key>
314
+ <string>(?&lt;!&lt;/(?:script|SCRIPT))(&gt;)</string>
315
+ <key>captures</key>
316
+ <dict>
317
+ <key>1</key>
318
+ <dict>
319
+ <key>name</key>
320
+ <string>punctuation.definition.tag.html</string>
321
+ </dict>
322
+ <key>2</key>
323
+ <dict>
324
+ <key>name</key>
325
+ <string>entity.name.tag.script.html</string>
326
+ </dict>
327
+ </dict>
328
+ <key>end</key>
329
+ <string>(&lt;/)((?i:script))</string>
330
+ <key>patterns</key>
331
+ <array>
332
+ <dict>
333
+ <key>captures</key>
334
+ <dict>
335
+ <key>1</key>
336
+ <dict>
337
+ <key>name</key>
338
+ <string>punctuation.definition.comment.js</string>
339
+ </dict>
340
+ </dict>
341
+ <key>match</key>
342
+ <string>(//).*?((?=&lt;/script)|$\n?)</string>
343
+ <key>name</key>
344
+ <string>comment.line.double-slash.js</string>
345
+ </dict>
346
+ <dict>
347
+ <key>begin</key>
348
+ <string>/\*</string>
349
+ <key>captures</key>
350
+ <dict>
351
+ <key>0</key>
352
+ <dict>
353
+ <key>name</key>
354
+ <string>punctuation.definition.comment.js</string>
355
+ </dict>
356
+ </dict>
357
+ <key>end</key>
358
+ <string>\*/|(?=&lt;/script)</string>
359
+ <key>name</key>
360
+ <string>comment.block.js</string>
361
+ </dict>
362
+ <dict>
363
+ <key>include</key>
364
+ <string>#php</string>
365
+ </dict>
366
+ <dict>
367
+ <key>include</key>
368
+ <string>source.js</string>
369
+ </dict>
370
+ </array>
371
+ </dict>
372
+ </array>
373
+ </dict>
374
+ <dict>
375
+ <key>begin</key>
376
+ <string>(&lt;/?)((?i:body|head|html)\b)</string>
377
+ <key>captures</key>
378
+ <dict>
379
+ <key>1</key>
380
+ <dict>
381
+ <key>name</key>
382
+ <string>punctuation.definition.tag.html</string>
383
+ </dict>
384
+ <key>2</key>
385
+ <dict>
386
+ <key>name</key>
387
+ <string>entity.name.tag.structure.any.html</string>
388
+ </dict>
389
+ </dict>
390
+ <key>end</key>
391
+ <string>(&gt;)</string>
392
+ <key>name</key>
393
+ <string>meta.tag.structure.any.html</string>
394
+ <key>patterns</key>
395
+ <array>
396
+ <dict>
397
+ <key>include</key>
398
+ <string>#tag-stuff</string>
399
+ </dict>
400
+ </array>
401
+ </dict>
402
+ <dict>
403
+ <key>begin</key>
404
+ <string>(&lt;/?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)</string>
405
+ <key>beginCaptures</key>
406
+ <dict>
407
+ <key>1</key>
408
+ <dict>
409
+ <key>name</key>
410
+ <string>punctuation.definition.tag.begin.html</string>
411
+ </dict>
412
+ <key>2</key>
413
+ <dict>
414
+ <key>name</key>
415
+ <string>entity.name.tag.block.any.html</string>
416
+ </dict>
417
+ </dict>
418
+ <key>end</key>
419
+ <string>(&gt;)</string>
420
+ <key>endCaptures</key>
421
+ <dict>
422
+ <key>1</key>
423
+ <dict>
424
+ <key>name</key>
425
+ <string>punctuation.definition.tag.end.html</string>
426
+ </dict>
427
+ </dict>
428
+ <key>name</key>
429
+ <string>meta.tag.block.any.html</string>
430
+ <key>patterns</key>
431
+ <array>
432
+ <dict>
433
+ <key>include</key>
434
+ <string>#tag-stuff</string>
435
+ </dict>
436
+ </array>
437
+ </dict>
438
+ <dict>
439
+ <key>begin</key>
440
+ <string>(&lt;/?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)</string>
441
+ <key>beginCaptures</key>
442
+ <dict>
443
+ <key>1</key>
444
+ <dict>
445
+ <key>name</key>
446
+ <string>punctuation.definition.tag.begin.html</string>
447
+ </dict>
448
+ <key>2</key>
449
+ <dict>
450
+ <key>name</key>
451
+ <string>entity.name.tag.inline.any.html</string>
452
+ </dict>
453
+ </dict>
454
+ <key>end</key>
455
+ <string>((?: ?/)?&gt;)</string>
456
+ <key>endCaptures</key>
457
+ <dict>
458
+ <key>1</key>
459
+ <dict>
460
+ <key>name</key>
461
+ <string>punctuation.definition.tag.end.html</string>
462
+ </dict>
463
+ </dict>
464
+ <key>name</key>
465
+ <string>meta.tag.inline.any.html</string>
466
+ <key>patterns</key>
467
+ <array>
468
+ <dict>
469
+ <key>include</key>
470
+ <string>#tag-stuff</string>
471
+ </dict>
472
+ </array>
473
+ </dict>
474
+ <dict>
475
+ <key>begin</key>
476
+ <string>(&lt;/?)([a-zA-Z0-9:]+)</string>
477
+ <key>beginCaptures</key>
478
+ <dict>
479
+ <key>1</key>
480
+ <dict>
481
+ <key>name</key>
482
+ <string>punctuation.definition.tag.begin.html</string>
483
+ </dict>
484
+ <key>2</key>
485
+ <dict>
486
+ <key>name</key>
487
+ <string>entity.name.tag.other.html</string>
488
+ </dict>
489
+ </dict>
490
+ <key>end</key>
491
+ <string>(&gt;)</string>
492
+ <key>endCaptures</key>
493
+ <dict>
494
+ <key>1</key>
495
+ <dict>
496
+ <key>name</key>
497
+ <string>punctuation.definition.tag.end.html</string>
498
+ </dict>
499
+ </dict>
500
+ <key>name</key>
501
+ <string>meta.tag.other.html</string>
502
+ <key>patterns</key>
503
+ <array>
504
+ <dict>
505
+ <key>include</key>
506
+ <string>#tag-stuff</string>
507
+ </dict>
508
+ </array>
509
+ </dict>
510
+ <dict>
511
+ <key>include</key>
512
+ <string>#entities</string>
513
+ </dict>
514
+ <dict>
515
+ <key>match</key>
516
+ <string>&lt;&gt;</string>
517
+ <key>name</key>
518
+ <string>invalid.illegal.incomplete.html</string>
519
+ </dict>
520
+ <dict>
521
+ <key>match</key>
522
+ <string>&lt;</string>
523
+ <key>name</key>
524
+ <string>invalid.illegal.bad-angle-bracket.html</string>
525
+ </dict>
526
+ </array>
527
+ <key>repository</key>
528
+ <dict>
529
+ <key>embedded-code</key>
530
+ <dict>
531
+ <key>patterns</key>
532
+ <array>
533
+ <dict>
534
+ <key>include</key>
535
+ <string>#ruby</string>
536
+ </dict>
537
+ <dict>
538
+ <key>include</key>
539
+ <string>#php</string>
540
+ </dict>
541
+ <dict>
542
+ <key>include</key>
543
+ <string>#smarty</string>
544
+ </dict>
545
+ <dict>
546
+ <key>include</key>
547
+ <string>#python</string>
548
+ </dict>
549
+ </array>
550
+ </dict>
551
+ <key>entities</key>
552
+ <dict>
553
+ <key>patterns</key>
554
+ <array>
555
+ <dict>
556
+ <key>captures</key>
557
+ <dict>
558
+ <key>1</key>
559
+ <dict>
560
+ <key>name</key>
561
+ <string>punctuation.definition.entity.html</string>
562
+ </dict>
563
+ <key>3</key>
564
+ <dict>
565
+ <key>name</key>
566
+ <string>punctuation.definition.entity.html</string>
567
+ </dict>
568
+ </dict>
569
+ <key>match</key>
570
+ <string>(&amp;)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)</string>
571
+ <key>name</key>
572
+ <string>constant.character.entity.html</string>
573
+ </dict>
574
+ <dict>
575
+ <key>match</key>
576
+ <string>&amp;</string>
577
+ <key>name</key>
578
+ <string>invalid.illegal.bad-ampersand.html</string>
579
+ </dict>
580
+ </array>
581
+ </dict>
582
+ <key>php</key>
583
+ <dict>
584
+ <key>begin</key>
585
+ <string>(?=(^\s*)?&lt;\?)</string>
586
+ <key>end</key>
587
+ <string>(?!(^\s*)?&lt;\?)</string>
588
+ <key>patterns</key>
589
+ <array>
590
+ <dict>
591
+ <key>include</key>
592
+ <string>source.php</string>
593
+ </dict>
594
+ </array>
595
+ </dict>
596
+ <key>python</key>
597
+ <dict>
598
+ <key>begin</key>
599
+ <string>(?:^\s*)&lt;\?python(?!.*\?&gt;)</string>
600
+ <key>end</key>
601
+ <string>\?&gt;(?:\s*$\n)?</string>
602
+ <key>name</key>
603
+ <string>source.python.embedded.html</string>
604
+ <key>patterns</key>
605
+ <array>
606
+ <dict>
607
+ <key>include</key>
608
+ <string>source.python</string>
609
+ </dict>
610
+ </array>
611
+ </dict>
612
+ <key>ruby</key>
613
+ <dict>
614
+ <key>patterns</key>
615
+ <array>
616
+ <dict>
617
+ <key>begin</key>
618
+ <string>&lt;%+#</string>
619
+ <key>captures</key>
620
+ <dict>
621
+ <key>0</key>
622
+ <dict>
623
+ <key>name</key>
624
+ <string>punctuation.definition.comment.erb</string>
625
+ </dict>
626
+ </dict>
627
+ <key>end</key>
628
+ <string>%&gt;</string>
629
+ <key>name</key>
630
+ <string>comment.block.erb</string>
631
+ </dict>
632
+ <dict>
633
+ <key>begin</key>
634
+ <string>&lt;%+(?!&gt;)=?</string>
635
+ <key>captures</key>
636
+ <dict>
637
+ <key>0</key>
638
+ <dict>
639
+ <key>name</key>
640
+ <string>punctuation.section.embedded.ruby</string>
641
+ </dict>
642
+ </dict>
643
+ <key>end</key>
644
+ <string>-?%&gt;</string>
645
+ <key>name</key>
646
+ <string>source.ruby.embedded.html</string>
647
+ <key>patterns</key>
648
+ <array>
649
+ <dict>
650
+ <key>captures</key>
651
+ <dict>
652
+ <key>1</key>
653
+ <dict>
654
+ <key>name</key>
655
+ <string>punctuation.definition.comment.ruby</string>
656
+ </dict>
657
+ </dict>
658
+ <key>match</key>
659
+ <string>(#).*?(?=-?%&gt;)</string>
660
+ <key>name</key>
661
+ <string>comment.line.number-sign.ruby</string>
662
+ </dict>
663
+ <dict>
664
+ <key>include</key>
665
+ <string>source.ruby</string>
666
+ </dict>
667
+ </array>
668
+ </dict>
669
+ <dict>
670
+ <key>begin</key>
671
+ <string>&lt;\?r(?!&gt;)=?</string>
672
+ <key>captures</key>
673
+ <dict>
674
+ <key>0</key>
675
+ <dict>
676
+ <key>name</key>
677
+ <string>punctuation.section.embedded.ruby.nitro</string>
678
+ </dict>
679
+ </dict>
680
+ <key>end</key>
681
+ <string>-?\?&gt;</string>
682
+ <key>name</key>
683
+ <string>source.ruby.nitro.embedded.html</string>
684
+ <key>patterns</key>
685
+ <array>
686
+ <dict>
687
+ <key>captures</key>
688
+ <dict>
689
+ <key>1</key>
690
+ <dict>
691
+ <key>name</key>
692
+ <string>punctuation.definition.comment.ruby.nitro</string>
693
+ </dict>
694
+ </dict>
695
+ <key>match</key>
696
+ <string>(#).*?(?=-?\?&gt;)</string>
697
+ <key>name</key>
698
+ <string>comment.line.number-sign.ruby.nitro</string>
699
+ </dict>
700
+ <dict>
701
+ <key>include</key>
702
+ <string>source.ruby</string>
703
+ </dict>
704
+ </array>
705
+ </dict>
706
+ </array>
707
+ </dict>
708
+ <key>smarty</key>
709
+ <dict>
710
+ <key>patterns</key>
711
+ <array>
712
+ <dict>
713
+ <key>begin</key>
714
+ <string>(\{(literal)\})</string>
715
+ <key>captures</key>
716
+ <dict>
717
+ <key>1</key>
718
+ <dict>
719
+ <key>name</key>
720
+ <string>source.smarty.embedded.html</string>
721
+ </dict>
722
+ <key>2</key>
723
+ <dict>
724
+ <key>name</key>
725
+ <string>support.function.built-in.smarty</string>
726
+ </dict>
727
+ </dict>
728
+ <key>end</key>
729
+ <string>(\{/(literal)\})</string>
730
+ </dict>
731
+ <dict>
732
+ <key>begin</key>
733
+ <string>{{|{</string>
734
+ <key>disabled</key>
735
+ <integer>1</integer>
736
+ <key>end</key>
737
+ <string>}}|}</string>
738
+ <key>name</key>
739
+ <string>source.smarty.embedded.html</string>
740
+ <key>patterns</key>
741
+ <array>
742
+ <dict>
743
+ <key>include</key>
744
+ <string>source.smarty</string>
745
+ </dict>
746
+ </array>
747
+ </dict>
748
+ </array>
749
+ </dict>
750
+ <key>string-double-quoted</key>
751
+ <dict>
752
+ <key>begin</key>
753
+ <string>"</string>
754
+ <key>beginCaptures</key>
755
+ <dict>
756
+ <key>0</key>
757
+ <dict>
758
+ <key>name</key>
759
+ <string>punctuation.definition.string.begin.html</string>
760
+ </dict>
761
+ </dict>
762
+ <key>end</key>
763
+ <string>"</string>
764
+ <key>endCaptures</key>
765
+ <dict>
766
+ <key>0</key>
767
+ <dict>
768
+ <key>name</key>
769
+ <string>punctuation.definition.string.end.html</string>
770
+ </dict>
771
+ </dict>
772
+ <key>name</key>
773
+ <string>string.quoted.double.html</string>
774
+ <key>patterns</key>
775
+ <array>
776
+ <dict>
777
+ <key>include</key>
778
+ <string>#embedded-code</string>
779
+ </dict>
780
+ <dict>
781
+ <key>include</key>
782
+ <string>#entities</string>
783
+ </dict>
784
+ </array>
785
+ </dict>
786
+ <key>string-single-quoted</key>
787
+ <dict>
788
+ <key>begin</key>
789
+ <string>'</string>
790
+ <key>beginCaptures</key>
791
+ <dict>
792
+ <key>0</key>
793
+ <dict>
794
+ <key>name</key>
795
+ <string>punctuation.definition.string.begin.html</string>
796
+ </dict>
797
+ </dict>
798
+ <key>end</key>
799
+ <string>'</string>
800
+ <key>endCaptures</key>
801
+ <dict>
802
+ <key>0</key>
803
+ <dict>
804
+ <key>name</key>
805
+ <string>punctuation.definition.string.end.html</string>
806
+ </dict>
807
+ </dict>
808
+ <key>name</key>
809
+ <string>string.quoted.single.html</string>
810
+ <key>patterns</key>
811
+ <array>
812
+ <dict>
813
+ <key>include</key>
814
+ <string>#embedded-code</string>
815
+ </dict>
816
+ <dict>
817
+ <key>include</key>
818
+ <string>#entities</string>
819
+ </dict>
820
+ </array>
821
+ </dict>
822
+ <key>tag-generic-attribute</key>
823
+ <dict>
824
+ <key>match</key>
825
+ <string>\b([a-zA-Z\-:]+)</string>
826
+ <key>name</key>
827
+ <string>entity.other.attribute-name.html</string>
828
+ </dict>
829
+ <key>tag-id-attribute</key>
830
+ <dict>
831
+ <key>begin</key>
832
+ <string>\b(id)\b\s*(=)</string>
833
+ <key>captures</key>
834
+ <dict>
835
+ <key>1</key>
836
+ <dict>
837
+ <key>name</key>
838
+ <string>entity.other.attribute-name.id.html</string>
839
+ </dict>
840
+ <key>2</key>
841
+ <dict>
842
+ <key>name</key>
843
+ <string>punctuation.separator.key-value.html</string>
844
+ </dict>
845
+ </dict>
846
+ <key>end</key>
847
+ <string>(?&lt;='|")</string>
848
+ <key>name</key>
849
+ <string>meta.attribute-with-value.id.html</string>
850
+ <key>patterns</key>
851
+ <array>
852
+ <dict>
853
+ <key>begin</key>
854
+ <string>"</string>
855
+ <key>beginCaptures</key>
856
+ <dict>
857
+ <key>0</key>
858
+ <dict>
859
+ <key>name</key>
860
+ <string>punctuation.definition.string.begin.html</string>
861
+ </dict>
862
+ </dict>
863
+ <key>contentName</key>
864
+ <string>meta.toc-list.id.html</string>
865
+ <key>end</key>
866
+ <string>"</string>
867
+ <key>endCaptures</key>
868
+ <dict>
869
+ <key>0</key>
870
+ <dict>
871
+ <key>name</key>
872
+ <string>punctuation.definition.string.end.html</string>
873
+ </dict>
874
+ </dict>
875
+ <key>name</key>
876
+ <string>string.quoted.double.html</string>
877
+ <key>patterns</key>
878
+ <array>
879
+ <dict>
880
+ <key>include</key>
881
+ <string>#embedded-code</string>
882
+ </dict>
883
+ <dict>
884
+ <key>include</key>
885
+ <string>#entities</string>
886
+ </dict>
887
+ </array>
888
+ </dict>
889
+ <dict>
890
+ <key>begin</key>
891
+ <string>'</string>
892
+ <key>beginCaptures</key>
893
+ <dict>
894
+ <key>0</key>
895
+ <dict>
896
+ <key>name</key>
897
+ <string>punctuation.definition.string.begin.html</string>
898
+ </dict>
899
+ </dict>
900
+ <key>contentName</key>
901
+ <string>meta.toc-list.id.html</string>
902
+ <key>end</key>
903
+ <string>'</string>
904
+ <key>endCaptures</key>
905
+ <dict>
906
+ <key>0</key>
907
+ <dict>
908
+ <key>name</key>
909
+ <string>punctuation.definition.string.end.html</string>
910
+ </dict>
911
+ </dict>
912
+ <key>name</key>
913
+ <string>string.quoted.single.html</string>
914
+ <key>patterns</key>
915
+ <array>
916
+ <dict>
917
+ <key>include</key>
918
+ <string>#embedded-code</string>
919
+ </dict>
920
+ <dict>
921
+ <key>include</key>
922
+ <string>#entities</string>
923
+ </dict>
924
+ </array>
925
+ </dict>
926
+ </array>
927
+ </dict>
928
+ <key>tag-stuff</key>
929
+ <dict>
930
+ <key>patterns</key>
931
+ <array>
932
+ <dict>
933
+ <key>include</key>
934
+ <string>#tag-id-attribute</string>
935
+ </dict>
936
+ <dict>
937
+ <key>include</key>
938
+ <string>#tag-generic-attribute</string>
939
+ </dict>
940
+ <dict>
941
+ <key>include</key>
942
+ <string>#string-double-quoted</string>
943
+ </dict>
944
+ <dict>
945
+ <key>include</key>
946
+ <string>#string-single-quoted</string>
947
+ </dict>
948
+ <dict>
949
+ <key>include</key>
950
+ <string>#embedded-code</string>
951
+ </dict>
952
+ </array>
953
+ </dict>
954
+ </dict>
955
+ <key>scopeName</key>
956
+ <string>text.html.basic</string>
957
+ <key>uuid</key>
958
+ <string>17994EC8-6B1D-11D9-AC3A-000D93589AF6</string>
959
+ </dict>
960
+ </plist>