ultraviolet 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. data/History.txt +5 -0
  2. data/Manifest.txt +216 -0
  3. data/README.txt +52 -0
  4. data/Rakefile +51 -0
  5. data/bin/theme2render +104 -0
  6. data/bin/uv +162 -0
  7. data/lib/uv.rb +84 -0
  8. data/lib/uv/html_processor.rb +89 -0
  9. data/render/old/txt2tags.render +131 -0
  10. data/render/xhtml/active4d.render +105 -0
  11. data/render/xhtml/all_hallows_eve.render +69 -0
  12. data/render/xhtml/amy.render +144 -0
  13. data/render/xhtml/blackboard.render +84 -0
  14. data/render/xhtml/brilliance_black.render +575 -0
  15. data/render/xhtml/brilliance_dull.render +534 -0
  16. data/render/xhtml/cobalt.render +135 -0
  17. data/render/xhtml/dawn.render +99 -0
  18. data/render/xhtml/eiffel.render +105 -0
  19. data/render/xhtml/espresso_libre.render +96 -0
  20. data/render/xhtml/files/css/active4d.css +114 -0
  21. data/render/xhtml/files/css/all_hallows_eve.css +72 -0
  22. data/render/xhtml/files/css/amy.css +144 -0
  23. data/render/xhtml/files/css/blackboard.css +88 -0
  24. data/render/xhtml/files/css/brilliance_black.css +632 -0
  25. data/render/xhtml/files/css/brilliance_dull.css +579 -0
  26. data/render/xhtml/files/css/cobalt.css +149 -0
  27. data/render/xhtml/files/css/dawn.css +121 -0
  28. data/render/xhtml/files/css/eiffel.css +121 -0
  29. data/render/xhtml/files/css/espresso_libre.css +109 -0
  30. data/render/xhtml/files/css/idle.css +62 -0
  31. data/render/xhtml/files/css/iplastic.css +80 -0
  32. data/render/xhtml/files/css/lazy.css +73 -0
  33. data/render/xhtml/files/css/mac_classic.css +123 -0
  34. data/render/xhtml/files/css/magicwb_amiga.css +101 -0
  35. data/render/xhtml/files/css/pastels_on_dark.css +188 -0
  36. data/render/xhtml/files/css/slush_poppies.css +85 -0
  37. data/render/xhtml/files/css/spacecadet.css +51 -0
  38. data/render/xhtml/files/css/sunburst.css +180 -0
  39. data/render/xhtml/files/css/twilight.css +137 -0
  40. data/render/xhtml/files/css/zenburnesque.css +88 -0
  41. data/render/xhtml/idle.render +66 -0
  42. data/render/xhtml/iplastic.render +72 -0
  43. data/render/xhtml/lazy.render +69 -0
  44. data/render/xhtml/mac_classic.render +108 -0
  45. data/render/xhtml/magicwb_amiga.render +90 -0
  46. data/render/xhtml/pastels_on_dark.render +177 -0
  47. data/render/xhtml/slush_poppies.render +96 -0
  48. data/render/xhtml/spacecadet.render +54 -0
  49. data/render/xhtml/sunburst.render +159 -0
  50. data/render/xhtml/twilight.render +126 -0
  51. data/render/xhtml/zenburnesque.render +99 -0
  52. data/syntax/actionscript.syntax +97 -0
  53. data/syntax/active4d.syntax +276 -0
  54. data/syntax/active4d_html.syntax +311 -0
  55. data/syntax/active4d_ini.syntax +50 -0
  56. data/syntax/active4d_library.syntax +21 -0
  57. data/syntax/ada.syntax +33 -0
  58. data/syntax/antlr.syntax +128 -0
  59. data/syntax/apache.syntax +176 -0
  60. data/syntax/applescript.syntax +384 -0
  61. data/syntax/asp.syntax +70 -0
  62. data/syntax/asp_vb.net.syntax +129 -0
  63. data/syntax/bibtex.syntax +151 -0
  64. data/syntax/blog_html.syntax +41 -0
  65. data/syntax/blog_markdown.syntax +42 -0
  66. data/syntax/blog_text.syntax +27 -0
  67. data/syntax/blog_textile.syntax +27 -0
  68. data/syntax/buggy/nemerle.yaml +74 -0
  69. data/syntax/build.syntax +53 -0
  70. data/syntax/bulletin_board.syntax +287 -0
  71. data/syntax/c++.syntax +109 -0
  72. data/syntax/c.syntax +326 -0
  73. data/syntax/cake.syntax +55 -0
  74. data/syntax/camlp4.syntax +36 -0
  75. data/syntax/coldfusion.syntax +118 -0
  76. data/syntax/context_free.syntax +176 -0
  77. data/syntax/cs.syntax +59 -0
  78. data/syntax/css.syntax +190 -0
  79. data/syntax/css_experimental.syntax +1925 -0
  80. data/syntax/csv.syntax +68 -0
  81. data/syntax/d.syntax +138 -0
  82. data/syntax/diff.syntax +81 -0
  83. data/syntax/dokuwiki.syntax +204 -0
  84. data/syntax/dot.syntax +47 -0
  85. data/syntax/doxygen.syntax +43 -0
  86. data/syntax/dylan.syntax +62 -0
  87. data/syntax/eiffel.syntax +78 -0
  88. data/syntax/erlang.syntax +922 -0
  89. data/syntax/f-script.syntax +80 -0
  90. data/syntax/fortran.syntax +141 -0
  91. data/syntax/fxscript.syntax +142 -0
  92. data/syntax/greasemonkey.syntax +34 -0
  93. data/syntax/gri.syntax +83 -0
  94. data/syntax/groovy.syntax +189 -0
  95. data/syntax/gtd2_text.syntax +31 -0
  96. data/syntax/gtdalt.syntax +143 -0
  97. data/syntax/haml.syntax +88 -0
  98. data/syntax/haskell.syntax +88 -0
  99. data/syntax/html-asp.syntax +27 -0
  100. data/syntax/html.syntax +362 -0
  101. data/syntax/html_django.syntax +36 -0
  102. data/syntax/html_for_asp.net.syntax +424 -0
  103. data/syntax/html_mason.syntax +119 -0
  104. data/syntax/html_rails.syntax +40 -0
  105. data/syntax/html_tcl.syntax +26 -0
  106. data/syntax/icalendar.syntax +32 -0
  107. data/syntax/inform.syntax +48 -0
  108. data/syntax/ini.syntax +54 -0
  109. data/syntax/installer_distribution_script.syntax +77 -0
  110. data/syntax/io.syntax +81 -0
  111. data/syntax/java.syntax +211 -0
  112. data/syntax/javaproperties.syntax +20 -0
  113. data/syntax/javascript.syntax +255 -0
  114. data/syntax/javascript_+_prototype.syntax +72 -0
  115. data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
  116. data/syntax/jquery_javascript.syntax +114 -0
  117. data/syntax/json.syntax +136 -0
  118. data/syntax/languagedefinition.syntax +697 -0
  119. data/syntax/latex.syntax +566 -0
  120. data/syntax/latex_beamer.syntax +41 -0
  121. data/syntax/latex_log.syntax +50 -0
  122. data/syntax/latex_memoir.syntax +64 -0
  123. data/syntax/lexflex.syntax +219 -0
  124. data/syntax/lighttpd.syntax +54 -0
  125. data/syntax/lilypond.syntax +492 -0
  126. data/syntax/lisp.syntax +61 -0
  127. data/syntax/literate_haskell.syntax +24 -0
  128. data/syntax/logo.syntax +29 -0
  129. data/syntax/logtalk.syntax +152 -0
  130. data/syntax/lua.syntax +86 -0
  131. data/syntax/m.syntax +142 -0
  132. data/syntax/macports_portfile.syntax +143 -0
  133. data/syntax/mail.syntax +118 -0
  134. data/syntax/makefile.syntax +35 -0
  135. data/syntax/man.syntax +17 -0
  136. data/syntax/markdown.syntax +543 -0
  137. data/syntax/mediawiki.syntax +567 -0
  138. data/syntax/mel.syntax +92 -0
  139. data/syntax/mips.syntax +66 -0
  140. data/syntax/mod_perl.syntax +50 -0
  141. data/syntax/modula-3.syntax +47 -0
  142. data/syntax/moinmoin.syntax +189 -0
  143. data/syntax/mootools.syntax +572 -0
  144. data/syntax/movable_type.syntax +162 -0
  145. data/syntax/multimarkdown.syntax +39 -0
  146. data/syntax/objective-c++.syntax +18 -0
  147. data/syntax/objective-c.syntax +226 -0
  148. data/syntax/ocaml.syntax +764 -0
  149. data/syntax/ocamllex.syntax +167 -0
  150. data/syntax/ocamlyacc.syntax +184 -0
  151. data/syntax/old/YAML.yaml +160 -0
  152. data/syntax/old/txt2tags.yaml +139 -0
  153. data/syntax/opengl.syntax +14 -0
  154. data/syntax/pascal.syntax +77 -0
  155. data/syntax/perl.syntax +1075 -0
  156. data/syntax/php.syntax +678 -0
  157. data/syntax/plain_text.syntax +32 -0
  158. data/syntax/postscript.syntax +114 -0
  159. data/syntax/processing.syntax +106 -0
  160. data/syntax/prolog.syntax +40 -0
  161. data/syntax/property_list.syntax +645 -0
  162. data/syntax/python.syntax +865 -0
  163. data/syntax/python_django.syntax +21 -0
  164. data/syntax/qmake_project.syntax +114 -0
  165. data/syntax/qt_c++.syntax +26 -0
  166. data/syntax/quake3_config.syntax +32 -0
  167. data/syntax/r.syntax +81 -0
  168. data/syntax/r_console.syntax +16 -0
  169. data/syntax/ragel.syntax +201 -0
  170. data/syntax/rd_r_documentation.syntax +91 -0
  171. data/syntax/regexp.syntax +50 -0
  172. data/syntax/regular_expressions_oniguruma.syntax +107 -0
  173. data/syntax/regular_expressions_python.syntax +109 -0
  174. data/syntax/release_notes.syntax +37 -0
  175. data/syntax/remind.syntax +253 -0
  176. data/syntax/restructuredtext.syntax +250 -0
  177. data/syntax/rez.syntax +80 -0
  178. data/syntax/ruby.syntax +1035 -0
  179. data/syntax/ruby_experimental.syntax +145 -0
  180. data/syntax/ruby_on_rails.syntax +88 -0
  181. data/syntax/s5.syntax +69 -0
  182. data/syntax/scheme.syntax +347 -0
  183. data/syntax/scilab.syntax +41 -0
  184. data/syntax/setext.syntax +147 -0
  185. data/syntax/shell-unix-generic.syntax +384 -0
  186. data/syntax/slate.syntax +149 -0
  187. data/syntax/smarty.syntax +63 -0
  188. data/syntax/sql.syntax +237 -0
  189. data/syntax/sql_rails.syntax +18 -0
  190. data/syntax/ssh-config.syntax +33 -0
  191. data/syntax/standard_ml.syntax +45 -0
  192. data/syntax/strings_file.syntax +39 -0
  193. data/syntax/subversion_commit_message.syntax +36 -0
  194. data/syntax/sweave.syntax +84 -0
  195. data/syntax/swig.syntax +57 -0
  196. data/syntax/tcl.syntax +152 -0
  197. data/syntax/template_toolkit.syntax +121 -0
  198. data/syntax/tex.syntax +86 -0
  199. data/syntax/tex_math.syntax +49 -0
  200. data/syntax/textile.syntax +215 -0
  201. data/syntax/tsv.syntax +50 -0
  202. data/syntax/twiki.syntax +241 -0
  203. data/syntax/txt2tags.syntax +79 -0
  204. data/syntax/vectorscript.syntax +57 -0
  205. data/syntax/xhtml_1.0.syntax +4027 -0
  206. data/syntax/xml.syntax +179 -0
  207. data/syntax/xml_strict.syntax +92 -0
  208. data/syntax/xsl.syntax +60 -0
  209. data/syntax/yaml.syntax +160 -0
  210. data/syntax/yui_javascript.syntax +176 -0
  211. data/test/test_uv.rb +0 -0
  212. metadata +270 -0
@@ -0,0 +1,697 @@
1
+ ---
2
+ name: Language Grammar
3
+ fileTypes:
4
+ - textmate
5
+ firstLineMatch: ^\{\s*scopeName = .*$
6
+ scopeName: source.plist.tm-grammar
7
+ repository:
8
+ invalid-keyword:
9
+ patterns:
10
+ - name: invalid.illegal.constant.misplaced-keyword.tm-grammar
11
+ match: \b(fileTypes|foldingStartMarker|foldingStopMarker|patterns|match|begin|end|include|scopeName|captures|beginCaptures|endCaptures|firstLineMatch|comment|repository|disabled|contentName|applyEndPatternLast)\b(?=\s*=)
12
+ - name: invalid.deprecated.constant.tm-grammar
13
+ match: \b(swallow|mode)\b(?=\s*=)
14
+ - name: invalid.illegal.constant.outdated.tm-grammar
15
+ match: \b(foregroundColor|backgroundColor|fontStyle|elementForegroundColor|elementBackgroundColor|elementFontStyle|highlightPairs|smartTypingPairs|increaseIndentPattern)\b(?=\s*=)
16
+ - name: invalid.illegal.constant.unknown-keyword.tm-grammar
17
+ match: "[-a-zA-Z_.]+(?=\\s*=)"
18
+ any:
19
+ patterns:
20
+ - include: "#comment"
21
+ - include: "#string"
22
+ - include: "#array"
23
+ - include: "#dictionary"
24
+ - include: "#catch-all"
25
+ scope:
26
+ patterns:
27
+ - name: string.quoted.single.scope.tm-grammar
28
+ captures:
29
+ "1":
30
+ name: punctuation.definition.string.begin.tm-grammar
31
+ "2":
32
+ name: constant.other.scope.tm-grammar
33
+ "3":
34
+ name: invalid.deprecated.scope_not_allowed.tm-grammar
35
+ "4":
36
+ name: punctuation.definition.string.end.tm-grammar
37
+ match: "(?x)\n\
38
+ \t\t\t\t\t\t(')\t\t\t\t\t\t\t\t# Open String\n\
39
+ \t\t\t\t\t\t\t(\t\t\t\t\t\t\t# Optionally match the valid\n\
40
+ \t\t\t\t\t\t\t\t\t\t\t\t\t\t# scopes, and the following\n\
41
+ \t\t\t\t\t\t\t\t\t\t\t\t\t\t# part of the scope, meaning\n\
42
+ \t\t\t\t\t\t\t\t\t\t\t\t\t\t# anything else is invalid\n\
43
+ \t\t\t\t\t\t\t\tcomment(?:\n\
44
+ \t\t\t\t\t\t\t\t\t\\.(?:line|block)\n\
45
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
46
+ \t\t\t\t\t\t\t\t)?\n\
47
+ \t\t\t\t\t\t\t | constant(?:\n\
48
+ \t\t\t\t\t\t\t\t\t\\.(?:numeric|character|language|other)\n\
49
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
50
+ \t\t\t\t\t\t\t\t)?\n\
51
+ \t\t\t\t\t\t\t | entity(?:\n\
52
+ \t\t\t\t\t\t\t\t\t\\.name(?:\n\
53
+ \t\t\t\t\t\t\t\t\t\t\\.(?:function|type|tag|section)\n\
54
+ \t\t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
55
+ \t\t\t\t\t\t\t\t\t)?\n\
56
+ \t\t\t\t\t\t\t\t | \\.other(?:\n\
57
+ \t\t\t\t\t\t\t\t\t\t\\.(?:inherited-class|attribute-name)\n\
58
+ \t\t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
59
+ \t\t\t\t\t\t\t\t\t)?\n\
60
+ \t\t\t\t\t\t\t\t)?\n\
61
+ \t\t\t\t\t\t\t | invalid(?:\n\
62
+ \t\t\t\t\t\t\t\t\t\\.(?:illegal|deprecated)\n\
63
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
64
+ \t\t\t\t\t\t\t\t)?\n\
65
+ \t\t\t\t\t\t\t | keyword(?:\n\
66
+ \t\t\t\t\t\t\t\t\t\\.(?:control|operator|other)\n\
67
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
68
+ \t\t\t\t\t\t\t\t)?\n\
69
+ \t\t\t\t\t\t\t | markup(?:\n\
70
+ \t\t\t\t\t\t\t\t\t\\.(?:underline|bold|heading|italic|list|quote|raw|other)\n\
71
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
72
+ \t\t\t\t\t\t\t\t)?\n\
73
+ \t\t\t\t\t\t\t | meta(?:\\.[^']*)?\n\
74
+ \t\t\t\t\t\t\t | punctuation(?:\n\
75
+ \t\t\t\t\t\t\t\t\t\\.(?:definition|section|separator|terminator)\n\
76
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
77
+ \t\t\t\t\t\t\t\t)?\n\
78
+ \t\t\t\t\t\t\t | source(?:\\.[^']*)?\n\
79
+ \t\t\t\t\t\t\t | storage(?:\n\
80
+ \t\t\t\t\t\t\t\t\t\\.(?:type|modifier)\n\
81
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
82
+ \t\t\t\t\t\t\t\t)?\n\
83
+ \t\t\t\t\t\t\t | string(?:\n\
84
+ \t\t\t\t\t\t\t\t\t\\.(?:\n\
85
+ \t\t\t\t\t\t\t\t\t\tquoted(?:\n\
86
+ \t\t\t\t\t\t\t\t\t\t\t\\.(?:single|double|triple|other)\n\
87
+ \t\t\t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
88
+ \t\t\t\t\t\t\t\t\t\t)?\n\
89
+ \t\t\t\t\t\t\t\t\t | (?:unquoted|interpolated|regexp|other)\n\
90
+ \t\t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
91
+ \t\t\t\t\t\t\t\t\t)\n\
92
+ \t\t\t\t\t\t\t\t)?\n\
93
+ \t\t\t\t\t\t\t | support(?:\n\
94
+ \t\t\t\t\t\t\t\t\t\\.(?:function|class|type|constant|variable|other)\n\
95
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
96
+ \t\t\t\t\t\t\t\t)?\n\
97
+ \t\t\t\t\t\t\t | text(?:\\.[^']*)?\n\
98
+ \t\t\t\t\t\t\t | variable(?:\n\
99
+ \t\t\t\t\t\t\t\t\t\\.(?:parameter|language|other)\n\
100
+ \t\t\t\t\t\t\t\t\t(?:\\.[^']*)?\n\
101
+ \t\t\t\t\t\t\t\t)?\n\
102
+ \t\t\t\t\t\t\t)?(?:\\b|(?<='))\n\
103
+ \t\t\t\t\t\t\t([^']*)?\n\
104
+ \t\t\t\t\t\t(')\t\t\t\t\t\t\t\t# Close String\n\
105
+ \t\t\t\t\t"
106
+ - name: string.quoted.double.scope.tm-grammar
107
+ captures:
108
+ "1":
109
+ name: punctuation.definition.string.begin.tm-grammar
110
+ "2":
111
+ name: constant.other.scope.tm-grammar
112
+ "3":
113
+ name: invalid.deprecated.scope_not_allowed.tm-grammar
114
+ "4":
115
+ name: punctuation.definition.string.end.tm-grammar
116
+ match: "(?x)\n\
117
+ \t\t\t\t\t\t(\")\t\t\t\t\t\t\t\t# Open String\n\
118
+ \t\t\t\t\t\t\t(\t\t\t\t\t\t\t# Optionally match the valid\n\
119
+ \t\t\t\t\t\t\t\t\t\t\t\t\t\t# scopes, and the following\n\
120
+ \t\t\t\t\t\t\t\t\t\t\t\t\t\t# part of the scope, meaning\n\
121
+ \t\t\t\t\t\t\t\t\t\t\t\t\t\t# anything else is invalid\n\
122
+ \t\t\t\t\t\t\t\tcomment(?:\n\
123
+ \t\t\t\t\t\t\t\t\t\\.(?:line|block)\n\
124
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
125
+ \t\t\t\t\t\t\t\t)?\n\
126
+ \t\t\t\t\t\t\t | constant(?:\n\
127
+ \t\t\t\t\t\t\t\t\t\\.(?:numeric|character|language|other)\n\
128
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
129
+ \t\t\t\t\t\t\t\t)?\n\
130
+ \t\t\t\t\t\t\t | entity(?:\n\
131
+ \t\t\t\t\t\t\t\t\t\\.name(?:\n\
132
+ \t\t\t\t\t\t\t\t\t\t\\.(?:function|type|tag|section)\n\
133
+ \t\t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
134
+ \t\t\t\t\t\t\t\t\t)?\n\
135
+ \t\t\t\t\t\t\t\t | \\.other(?:\n\
136
+ \t\t\t\t\t\t\t\t\t\t\\.(?:inherited-class|attribute-name)\n\
137
+ \t\t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
138
+ \t\t\t\t\t\t\t\t\t)?\n\
139
+ \t\t\t\t\t\t\t\t)?\n\
140
+ \t\t\t\t\t\t\t | invalid(?:\n\
141
+ \t\t\t\t\t\t\t\t\t\\.(?:illegal|deprecated)\n\
142
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
143
+ \t\t\t\t\t\t\t\t)?\n\
144
+ \t\t\t\t\t\t\t | keyword(?:\n\
145
+ \t\t\t\t\t\t\t\t\t\\.(?:control|operator|other)\n\
146
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
147
+ \t\t\t\t\t\t\t\t)?\n\
148
+ \t\t\t\t\t\t\t | markup(?:\n\
149
+ \t\t\t\t\t\t\t\t\t\\.(?:underline|bold|heading|italic|list|quote|raw|other)\n\
150
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
151
+ \t\t\t\t\t\t\t\t)?\n\
152
+ \t\t\t\t\t\t\t | meta(?:\\.[^\"]*)?\n\
153
+ \t\t\t\t\t\t\t | punctuation(?:\n\
154
+ \t\t\t\t\t\t\t\t\t\\.(?:definition|section|separator|terminator)\n\
155
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
156
+ \t\t\t\t\t\t\t\t)?\n\
157
+ \t\t\t\t\t\t\t | source(?:\\.[^\"]*)?\n\
158
+ \t\t\t\t\t\t\t | storage(?:\n\
159
+ \t\t\t\t\t\t\t\t\t\\.(?:type|modifier)\n\
160
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
161
+ \t\t\t\t\t\t\t\t)?\n\
162
+ \t\t\t\t\t\t\t | string(?:\n\
163
+ \t\t\t\t\t\t\t\t\t\\.(?:\n\
164
+ \t\t\t\t\t\t\t\t\t\tquoted(?:\n\
165
+ \t\t\t\t\t\t\t\t\t\t\t\\.(?:single|double|triple|other)\n\
166
+ \t\t\t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
167
+ \t\t\t\t\t\t\t\t\t\t)?\n\
168
+ \t\t\t\t\t\t\t\t\t | (?:unquoted|interpolated|regexp|other)\n\
169
+ \t\t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
170
+ \t\t\t\t\t\t\t\t\t)\n\
171
+ \t\t\t\t\t\t\t\t)?\n\
172
+ \t\t\t\t\t\t\t | support(?:\n\
173
+ \t\t\t\t\t\t\t\t\t\\.(?:function|class|type|constant|variable|other)\n\
174
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
175
+ \t\t\t\t\t\t\t\t)?\n\
176
+ \t\t\t\t\t\t\t | text(?:\\.[^\"]*)?\n\
177
+ \t\t\t\t\t\t\t | variable(?:\n\
178
+ \t\t\t\t\t\t\t\t\t\\.(?:parameter|language|other)\n\
179
+ \t\t\t\t\t\t\t\t\t(?:\\.[^\"]*)?\n\
180
+ \t\t\t\t\t\t\t\t)?\n\
181
+ \t\t\t\t\t\t\t)?(?:\\b|(?<=\"))\n\
182
+ \t\t\t\t\t\t\t([^\"]*)?\n\
183
+ \t\t\t\t\t\t(\")\t\t\t\t\t\t\t\t# Close String\n\
184
+ \t\t\t\t\t"
185
+ regexp:
186
+ patterns:
187
+ - name: string.regexp.oniguruma.single.tm-grammar
188
+ endCaptures:
189
+ "1":
190
+ name: punctuation.definition.string.end.tm-grammar
191
+ begin: (')
192
+ beginCaptures:
193
+ "1":
194
+ name: punctuation.definition.string.begin.tm-grammar
195
+ end: (')(?!')
196
+ patterns:
197
+ - name: constant.character.escape.apostrophe.tm-grammar
198
+ match: "''"
199
+ - include: source.regexp.oniguruma
200
+ - name: string.regexp.oniguruma.double.tm-grammar
201
+ endCaptures:
202
+ "1":
203
+ name: punctuation.definition.string.end.tm-grammar
204
+ begin: (")
205
+ beginCaptures:
206
+ "1":
207
+ name: punctuation.definition.string.begin.tm-grammar
208
+ end: (")
209
+ patterns:
210
+ - name: constant.character.escape.tm-grammar
211
+ match: \\\\|\\"
212
+ - include: source.regexp.oniguruma
213
+ dictionary:
214
+ captures:
215
+ "1":
216
+ name: punctuation.section.dictionary.tm-grammar
217
+ begin: (\{)
218
+ end: (\})
219
+ patterns:
220
+ - include: "#comment"
221
+ - include: "#string"
222
+ - endCaptures:
223
+ "1":
224
+ name: punctuation.terminator.dictionary.tm-grammar
225
+ begin: (=)
226
+ beginCaptures:
227
+ "1":
228
+ name: punctuation.separator.key-value.tm-grammar
229
+ end: (;)
230
+ patterns:
231
+ - include: "#any"
232
+ - name: punctuation.terminator.dictionary.tm-grammar
233
+ match: ;
234
+ - include: "#catch-all"
235
+ catch-all:
236
+ patterns:
237
+ - match: \s+
238
+ - name: invalid.illegal.unrecognized-character.tm-grammar
239
+ match: .
240
+ scope-root:
241
+ patterns:
242
+ - name: string.quoted.single.scope.root.tm-grammar
243
+ captures:
244
+ "1":
245
+ name: punctuation.definition.string.begin.tm-grammar
246
+ "2":
247
+ name: constant.other.scope.tm-grammar
248
+ "3":
249
+ name: invalid.deprecated.scope_not_allowed.tm-grammar
250
+ "4":
251
+ name: punctuation.definition.string.end.tm-grammar
252
+ match: (')(?:((?:source|text)(?='|\.)[^']*)|([^']*))(')
253
+ - name: string.quoted.double.scope.root.tm-grammar
254
+ captures:
255
+ "1":
256
+ name: punctuation.definition.string.begin.tm-grammar
257
+ "2":
258
+ name: constant.other.scope.tm-grammar
259
+ "3":
260
+ name: invalid.deprecated.scope_not_allowed.tm-grammar
261
+ "4":
262
+ name: punctuation.definition.string.end.tm-grammar
263
+ match: (")(?:((?:source|text)(?="|\.)[^"]*)|([^"]*))(")
264
+ patterns:
265
+ name: meta.array.patterns.tm-grammar
266
+ endCaptures:
267
+ "1":
268
+ name: punctuation.terminator.dictionary.tm-grammar
269
+ begin: \b(patterns)\s*(=)
270
+ beginCaptures:
271
+ "1":
272
+ name: support.constant.tm-grammar
273
+ "2":
274
+ name: punctuation.separator.key-value.tm-grammar
275
+ end: (;)
276
+ patterns:
277
+ - include: "#comment"
278
+ - captures:
279
+ "1":
280
+ name: punctuation.section.array.tm-grammar
281
+ begin: (\()
282
+ end: (\))
283
+ patterns:
284
+ - include: "#comment"
285
+ - endCaptures:
286
+ "1":
287
+ name: punctuation.separator.array.tm-grammar
288
+ begin: (?=[^\s,])
289
+ end: (,)|(?=\))
290
+ patterns:
291
+ - include: "#comment"
292
+ - match: \s+(?=//|/\*)
293
+ - name: invalid.illegal.missing-comma.tm-grammar
294
+ begin: "[[^\\n]&&\\s](?!\\s*(,|\\)|$)).*"
295
+ end: ^$not possible$^
296
+ - include: "#rule"
297
+ - include: "#catch-all"
298
+ - include: "#catch-all"
299
+ - include: "#catch-all"
300
+ array:
301
+ captures:
302
+ "1":
303
+ name: punctuation.section.array.tm-grammar
304
+ begin: (\()
305
+ end: (\))
306
+ patterns:
307
+ - include: "#comment"
308
+ - endCaptures:
309
+ "1":
310
+ name: punctuation.separator.array.tm-grammar
311
+ begin: (?=[^\s,])
312
+ end: (,)|(?=\))
313
+ patterns:
314
+ - include: "#comment"
315
+ - match: \s+(?=//|/\*)
316
+ - name: invalid.illegal.missing-comma.tm-grammar
317
+ begin: "[[^\\n]&&\\s](?!\\s*(,|\\)|$)).*"
318
+ end: ^$not possible$^
319
+ - include: "#any"
320
+ - include: "#catch-all"
321
+ comment-keyword:
322
+ endCaptures:
323
+ "1":
324
+ name: punctuation.terminator.dictionary.tm-grammar
325
+ begin: \b(comment)\s*(=)
326
+ beginCaptures:
327
+ "1":
328
+ name: support.constant.tm-grammar
329
+ "2":
330
+ name: punctuation.separator.key-value.tm-grammar
331
+ end: (;)
332
+ patterns:
333
+ - include: "#comment"
334
+ - name: string.quoted.single.tm-grammar
335
+ endCaptures:
336
+ "1":
337
+ name: punctuation.definition.string.end.tm-grammar
338
+ begin: (')
339
+ applyEndPatternLast: 1
340
+ contentName: comment.block.string.tm-grammar
341
+ beginCaptures:
342
+ "1":
343
+ name: punctuation.definition.string.begin.tm-grammar
344
+ end: (')(?!')
345
+ patterns:
346
+ - name: constant.character.escape.apostrophe.tm-grammar
347
+ match: "''"
348
+ - name: string.quoted.double.tm-grammar
349
+ endCaptures:
350
+ "1":
351
+ name: punctuation.definition.string.end.tm-grammar
352
+ begin: (")
353
+ contentName: comment.block.string.tm-grammar
354
+ beginCaptures:
355
+ "1":
356
+ name: punctuation.definition.string.begin.tm-grammar
357
+ end: (")
358
+ patterns:
359
+ - name: constant.character.escape.tm-grammar
360
+ match: \\[\\"]
361
+ - include: "#catch-all"
362
+ comment:
363
+ patterns:
364
+ - name: comment.block.tm-grammar
365
+ begin: /\*
366
+ end: \*/
367
+ - name: comment.line.double-slash.tm-grammar
368
+ match: //.*$\n?
369
+ string:
370
+ patterns:
371
+ - name: constant.numeric.tm-grammar
372
+ match: \b[0-9]+\b
373
+ - name: string.unquoted.tm-grammar
374
+ match: "[-a-zA-Z0-9_.]+"
375
+ - name: string.quoted.single.tm-grammar
376
+ endCaptures:
377
+ "1":
378
+ name: punctuation.definition.string.end.tm-grammar
379
+ begin: (')
380
+ applyEndPatternLast: 1
381
+ beginCaptures:
382
+ "1":
383
+ name: punctuation.definition.string.begin.tm-grammar
384
+ end: ('(?!'))
385
+ patterns:
386
+ - name: constant.character.escape.apostrophe.tm-grammar
387
+ match: "''"
388
+ - name: string.quoted.double.tm-grammar
389
+ endCaptures:
390
+ "1":
391
+ name: punctuation.definition.string.end.tm-grammar
392
+ begin: (")
393
+ beginCaptures:
394
+ "1":
395
+ name: punctuation.definition.string.begin.tm-grammar
396
+ end: (")
397
+ patterns:
398
+ - name: constant.character.escape.tm-grammar
399
+ match: \\[\\"]
400
+ rule:
401
+ name: meta.dictionary.rule.tm-grammar
402
+ captures:
403
+ "1":
404
+ name: punctuation.section.dictionary.tm-grammar
405
+ begin: (\{)
406
+ end: (\})
407
+ patterns:
408
+ - include: "#comment"
409
+ - name: meta.value-pair.tm-grammar
410
+ endCaptures:
411
+ "1":
412
+ name: punctuation.terminator.dictionary.tm-grammar
413
+ begin: \b((contentN|n)ame)\s*(=)
414
+ beginCaptures:
415
+ "1":
416
+ name: support.constant.tm-grammar
417
+ "3":
418
+ name: punctuation.separator.key-value.tm-grammar
419
+ end: (;)
420
+ patterns:
421
+ - include: "#comment"
422
+ - include: "#scope"
423
+ - include: "#catch-all"
424
+ comment: name, contentName
425
+ - endCaptures:
426
+ "1":
427
+ name: punctuation.terminator.dictionary.tm-grammar
428
+ begin: \b(begin|end|while|match)\s*(=)
429
+ beginCaptures:
430
+ "1":
431
+ name: support.constant.tm-grammar
432
+ "2":
433
+ name: punctuation.separator.key-value.tm-grammar
434
+ end: (;)
435
+ patterns:
436
+ - include: "#comment"
437
+ - include: "#regexp"
438
+ - include: "#catch-all"
439
+ comment: begin, end, while, match
440
+ - endCaptures:
441
+ "1":
442
+ name: punctuation.terminator.dictionary.tm-grammar
443
+ begin: \b(include)\s*(=)
444
+ beginCaptures:
445
+ "1":
446
+ name: support.constant.tm-grammar
447
+ "2":
448
+ name: punctuation.separator.key-value.tm-grammar
449
+ end: (;)
450
+ patterns:
451
+ - include: "#comment"
452
+ - include: "#string"
453
+ - include: "#catch-all"
454
+ comment: include
455
+ - name: meta.dictionary.captures.tm-grammar
456
+ endCaptures:
457
+ "1":
458
+ name: punctuation.terminator.dictionary.tm-grammar
459
+ begin: \b((beginC|endC|whileC|c)aptures)\s*(=)
460
+ beginCaptures:
461
+ "1":
462
+ name: support.constant.tm-grammar
463
+ "3":
464
+ name: punctuation.separator.key-value.tm-grammar
465
+ end: (;)
466
+ patterns:
467
+ - captures:
468
+ "1":
469
+ name: punctuation.section.dictionary.tm-grammar
470
+ begin: (\{)
471
+ end: (\})
472
+ patterns:
473
+ - include: "#comment"
474
+ - include: "#string"
475
+ - endCaptures:
476
+ "1":
477
+ name: punctuation.terminator.dictionary.tm-grammar
478
+ begin: (=)
479
+ beginCaptures:
480
+ "1":
481
+ name: punctuation.separator.key-value.tm-grammar
482
+ end: (;)
483
+ patterns:
484
+ - include: "#comment"
485
+ - captures:
486
+ "1":
487
+ name: punctuation.section.dictionary.tm-grammar
488
+ begin: (\{)
489
+ end: (\})
490
+ patterns:
491
+ - include: "#comment"
492
+ - name: meta.value-pair.tm-grammar
493
+ endCaptures:
494
+ "1":
495
+ name: punctuation.terminator.dictionary.tm-grammar
496
+ begin: \b(name)\s*(=)
497
+ beginCaptures:
498
+ "1":
499
+ name: support.constant.tm-grammar
500
+ "2":
501
+ name: punctuation.separator.key-value.tm-grammar
502
+ end: (;)
503
+ patterns:
504
+ - include: "#comment"
505
+ - include: "#scope"
506
+ - include: "#catch-all"
507
+ comment: name
508
+ - include: "#catch-all"
509
+ - name: punctuation.terminator.dictionary.tm-grammar
510
+ match: ;
511
+ - include: "#catch-all"
512
+ comment: captures
513
+ - captures:
514
+ "6":
515
+ name: constant.numeric.tm-grammar
516
+ "11":
517
+ name: punctuation.definition.string.end.tm-grammar
518
+ "7":
519
+ name: punctuation.definition.string.end.tm-grammar
520
+ "12":
521
+ name: punctuation.terminator.dictionary.tm-grammar
522
+ "8":
523
+ name: string.quoted.single.tm-grammar
524
+ "9":
525
+ name: punctuation.definition.string.begin.tm-grammar
526
+ "1":
527
+ name: support.constant.tm-grammar
528
+ "2":
529
+ name: punctuation.separator.key-value.tm-grammar
530
+ "3":
531
+ name: constant.numeric.tm-grammar
532
+ "4":
533
+ name: string.quoted.double.tm-grammar
534
+ "10":
535
+ name: constant.numeric.tm-grammar
536
+ "5":
537
+ name: punctuation.definition.string.begin.tm-grammar
538
+ match: \b(disabled|applyEndPatternLast)\s*(=)\s*(?:(0|1)|((")(0|1)("))|((')(0|1)(')))\s*(;)
539
+ comment: disabled, applyEndPatternLast
540
+ - include: "#patterns"
541
+ - include: "#comment-keyword"
542
+ - include: "#invalid-keyword"
543
+ - include: "#string"
544
+ - endCaptures:
545
+ "1":
546
+ name: punctuation.terminator.dictionary.tm-grammar
547
+ begin: (=)
548
+ beginCaptures:
549
+ "1":
550
+ name: punctuation.separator.key-value.tm-grammar
551
+ end: (;)
552
+ patterns:
553
+ - include: "#any"
554
+ - name: punctuation.terminator.dictionary.tm-grammar
555
+ match: ;
556
+ - include: "#catch-all"
557
+ uuid: 101D6FC2-6CBD-11D9-B329-000D93347A42
558
+ foldingStartMarker: ^\s*([a-zA-Z_-]+ = )?[{(](?!.*[)}][;,]?\s*$)
559
+ patterns:
560
+ - captures:
561
+ "1":
562
+ name: punctuation.section.dictionary.tm-grammar
563
+ begin: (\{)
564
+ end: (\})
565
+ patterns:
566
+ - include: "#comment"
567
+ - name: meta.value-pair.scopename.tm-grammar
568
+ endCaptures:
569
+ "1":
570
+ name: punctuation.section.dictionary.tm-grammar
571
+ begin: \b(scopeName)\s*(=)
572
+ beginCaptures:
573
+ "1":
574
+ name: support.constant.tm-grammar
575
+ "2":
576
+ name: punctuation.section.dictionary.tm-grammar
577
+ end: (;)
578
+ patterns:
579
+ - include: "#comment"
580
+ - include: "#scope-root"
581
+ - include: "#catch-all"
582
+ comment: scopeName
583
+ - endCaptures:
584
+ "1":
585
+ name: punctuation.terminator.dictionary.tm-grammar
586
+ begin: \b(fileTypes)\s*(=)
587
+ beginCaptures:
588
+ "1":
589
+ name: support.constant.tm-grammar
590
+ "2":
591
+ name: punctuation.separator.key-value.tm-grammar
592
+ end: (;)
593
+ patterns:
594
+ - captures:
595
+ "1":
596
+ name: punctuation.section.array.tm-grammar
597
+ begin: (\()
598
+ end: (\))
599
+ patterns:
600
+ - include: "#comment"
601
+ - endCaptures:
602
+ "1":
603
+ name: punctuation.separator.array.tm-grammar
604
+ begin: (?=[^\s,])
605
+ end: (,)|(?=\))
606
+ patterns:
607
+ - include: "#comment"
608
+ - match: \s+(?=//|/\*)
609
+ - name: invalid.illegal.missing-comma.tm-grammar
610
+ begin: "[[^\\n]&&\\s](?!\\s*(,|\\)|$)).*"
611
+ end: ^$not possible$^
612
+ - include: "#string"
613
+ - include: "#catch-all"
614
+ comment: fileTypes
615
+ - endCaptures:
616
+ "1":
617
+ name: punctuation.terminator.dictionary.tm-grammar
618
+ begin: \b(firstLineMatch|folding(Start|Stop)Marker)\s*(=)
619
+ beginCaptures:
620
+ "1":
621
+ name: support.constant.tm-grammar
622
+ "3":
623
+ name: punctuation.separator.key-value.tm-grammar
624
+ end: (;)
625
+ patterns:
626
+ - include: "#comment"
627
+ - include: "#regexp"
628
+ - include: "#catch-all"
629
+ comment: firstLineMatch, foldingStartMarker, foldingStopMarker
630
+ - include: "#patterns"
631
+ - name: meta.dictionary.repository.tm-grammar
632
+ endCaptures:
633
+ "1":
634
+ name: punctuation.terminator.dictionary.tm-grammar
635
+ begin: \b(repository)\s*(=)
636
+ beginCaptures:
637
+ "1":
638
+ name: support.constant.repository.tm-grammar
639
+ "2":
640
+ name: punctuation.separator.key-value.tm-grammar
641
+ end: (;)
642
+ patterns:
643
+ - captures:
644
+ "1":
645
+ name: punctuation.section.dictionary.tm-grammar
646
+ begin: (\{)
647
+ end: (\})
648
+ patterns:
649
+ - include: "#comment"
650
+ - name: meta.value-pair.repository-item.tm-grammar
651
+ endCaptures:
652
+ "1":
653
+ name: punctuation.terminator.dictionary.tm-grammar
654
+ begin: (["']?)([-a-zA-Z0-9._]+)\1\s*(=)
655
+ beginCaptures:
656
+ "2":
657
+ name: entity.name.section.repository.tm-grammar
658
+ "3":
659
+ name: punctuation.separator.key-value.tm-grammar
660
+ end: (;)
661
+ patterns:
662
+ - include: "#comment"
663
+ - include: "#rule"
664
+ - include: "#catch-all"
665
+ - include: "#string"
666
+ - endCaptures:
667
+ "1":
668
+ name: punctuation.terminator.dictionary.tm-grammar
669
+ begin: (=)
670
+ beginCaptures:
671
+ "1":
672
+ name: punctuation.separator.key-value.tm-grammar
673
+ end: (;)
674
+ patterns:
675
+ - include: "#any"
676
+ - name: punctuation.terminator.dictionary.tm-grammar
677
+ match: ;
678
+ - include: "#catch-all"
679
+ comment: repository
680
+ - include: "#comment-keyword"
681
+ - include: "#invalid-keyword"
682
+ - include: "#string"
683
+ - endCaptures:
684
+ "1":
685
+ name: punctuation.terminator.dictionary.tm-grammar
686
+ begin: (=)
687
+ beginCaptures:
688
+ "1":
689
+ name: punctuation.separator.key-value.tm-grammar
690
+ end: (;)
691
+ patterns:
692
+ - include: "#any"
693
+ - name: punctuation.terminator.dictionary.tm-grammar
694
+ match: ;
695
+ - include: "#catch-all"
696
+ foldingStopMarker: ^\s*(\}|\))
697
+ keyEquivalent: ^~L