ultraviolet 0.10.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/.gitmodules +3 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +28 -0
  4. data/Rakefile +18 -47
  5. data/Readme.md +89 -0
  6. data/bin/theme2latexrender +0 -0
  7. data/bin/theme2xhtmlrender +0 -0
  8. data/bin/uv +0 -0
  9. data/lib/uv.rb +78 -75
  10. data/lib/uv/render_processor.rb +128 -119
  11. data/lib/uv/utility.rb +62 -62
  12. data/lib/uv/version.rb +3 -0
  13. data/spec/spec_helper.rb +2 -0
  14. data/spec/ultraviolet_spec.rb +13 -0
  15. data/ultraviolet.gemspec +15 -0
  16. metadata +123 -271
  17. data/History.txt +0 -25
  18. data/Manifest.txt +0 -233
  19. data/README.txt +0 -52
  20. data/syntax/actionscript.syntax +0 -97
  21. data/syntax/active4d.syntax +0 -276
  22. data/syntax/active4d_html.syntax +0 -311
  23. data/syntax/active4d_ini.syntax +0 -50
  24. data/syntax/active4d_library.syntax +0 -21
  25. data/syntax/ada.syntax +0 -33
  26. data/syntax/antlr.syntax +0 -151
  27. data/syntax/apache.syntax +0 -191
  28. data/syntax/applescript.syntax +0 -384
  29. data/syntax/asp.syntax +0 -70
  30. data/syntax/asp_vb.net.syntax +0 -129
  31. data/syntax/bibtex.syntax +0 -151
  32. data/syntax/blog_html.syntax +0 -41
  33. data/syntax/blog_markdown.syntax +0 -42
  34. data/syntax/blog_text.syntax +0 -27
  35. data/syntax/blog_textile.syntax +0 -27
  36. data/syntax/build.syntax +0 -53
  37. data/syntax/bulletin_board.syntax +0 -287
  38. data/syntax/c++.syntax +0 -109
  39. data/syntax/c.syntax +0 -326
  40. data/syntax/cake.syntax +0 -55
  41. data/syntax/camlp4.syntax +0 -36
  42. data/syntax/cm.syntax +0 -32
  43. data/syntax/coldfusion.syntax +0 -119
  44. data/syntax/context_free.syntax +0 -176
  45. data/syntax/cs.syntax +0 -59
  46. data/syntax/css.syntax +0 -195
  47. data/syntax/css_experimental.syntax +0 -1925
  48. data/syntax/csv.syntax +0 -68
  49. data/syntax/d.syntax +0 -142
  50. data/syntax/diff.syntax +0 -81
  51. data/syntax/dokuwiki.syntax +0 -204
  52. data/syntax/dot.syntax +0 -47
  53. data/syntax/doxygen.syntax +0 -43
  54. data/syntax/dylan.syntax +0 -62
  55. data/syntax/eiffel.syntax +0 -78
  56. data/syntax/erlang.syntax +0 -922
  57. data/syntax/f-script.syntax +0 -80
  58. data/syntax/fortran.syntax +0 -141
  59. data/syntax/fxscript.syntax +0 -142
  60. data/syntax/greasemonkey.syntax +0 -34
  61. data/syntax/gri.syntax +0 -83
  62. data/syntax/groovy.syntax +0 -191
  63. data/syntax/gtd.syntax +0 -22
  64. data/syntax/gtdalt.syntax +0 -143
  65. data/syntax/haml.syntax +0 -88
  66. data/syntax/haskell.syntax +0 -88
  67. data/syntax/html-asp.syntax +0 -27
  68. data/syntax/html.syntax +0 -362
  69. data/syntax/html_django.syntax +0 -36
  70. data/syntax/html_for_asp.net.syntax +0 -424
  71. data/syntax/html_mason.syntax +0 -119
  72. data/syntax/html_rails.syntax +0 -40
  73. data/syntax/html_tcl.syntax +0 -26
  74. data/syntax/icalendar.syntax +0 -32
  75. data/syntax/inform.syntax +0 -48
  76. data/syntax/ini.syntax +0 -55
  77. data/syntax/installer_distribution_script.syntax +0 -77
  78. data/syntax/io.syntax +0 -81
  79. data/syntax/java.syntax +0 -211
  80. data/syntax/javaproperties.syntax +0 -20
  81. data/syntax/javascript.syntax +0 -256
  82. data/syntax/javascript_+_prototype.syntax +0 -72
  83. data/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  84. data/syntax/jquery_javascript.syntax +0 -114
  85. data/syntax/json.syntax +0 -136
  86. data/syntax/languagedefinition.syntax +0 -708
  87. data/syntax/latex.syntax +0 -566
  88. data/syntax/latex_beamer.syntax +0 -41
  89. data/syntax/latex_log.syntax +0 -50
  90. data/syntax/latex_memoir.syntax +0 -64
  91. data/syntax/lexflex.syntax +0 -219
  92. data/syntax/lighttpd.syntax +0 -54
  93. data/syntax/lilypond.syntax +0 -492
  94. data/syntax/lisp.syntax +0 -61
  95. data/syntax/literate_haskell.syntax +0 -24
  96. data/syntax/logo.syntax +0 -29
  97. data/syntax/logtalk.syntax +0 -152
  98. data/syntax/lua.syntax +0 -86
  99. data/syntax/m.syntax +0 -142
  100. data/syntax/macports_portfile.syntax +0 -163
  101. data/syntax/mail.syntax +0 -118
  102. data/syntax/makefile.syntax +0 -36
  103. data/syntax/man.syntax +0 -17
  104. data/syntax/markdown.syntax +0 -543
  105. data/syntax/mediawiki.syntax +0 -567
  106. data/syntax/mel.syntax +0 -92
  107. data/syntax/mips.syntax +0 -66
  108. data/syntax/mod_perl.syntax +0 -50
  109. data/syntax/modula-3.syntax +0 -47
  110. data/syntax/moinmoin.syntax +0 -189
  111. data/syntax/mootools.syntax +0 -572
  112. data/syntax/movable_type.syntax +0 -162
  113. data/syntax/multimarkdown.syntax +0 -39
  114. data/syntax/objective-c++.syntax +0 -18
  115. data/syntax/objective-c.syntax +0 -233
  116. data/syntax/ocaml.syntax +0 -764
  117. data/syntax/ocamllex.syntax +0 -167
  118. data/syntax/ocamlyacc.syntax +0 -184
  119. data/syntax/opengl.syntax +0 -14
  120. data/syntax/pascal.syntax +0 -77
  121. data/syntax/perl.syntax +0 -1115
  122. data/syntax/php.syntax +0 -1253
  123. data/syntax/plain_text.syntax +0 -32
  124. data/syntax/pmwiki.syntax +0 -113
  125. data/syntax/postscript.syntax +0 -114
  126. data/syntax/processing.syntax +0 -106
  127. data/syntax/prolog.syntax +0 -40
  128. data/syntax/property_list.syntax +0 -635
  129. data/syntax/python.syntax +0 -868
  130. data/syntax/python_django.syntax +0 -21
  131. data/syntax/qmake_project.syntax +0 -114
  132. data/syntax/qt_c++.syntax +0 -26
  133. data/syntax/quake3_config.syntax +0 -32
  134. data/syntax/r.syntax +0 -81
  135. data/syntax/r_console.syntax +0 -16
  136. data/syntax/ragel.syntax +0 -201
  137. data/syntax/rd_r_documentation.syntax +0 -91
  138. data/syntax/regexp.syntax +0 -50
  139. data/syntax/regular_expressions_oniguruma.syntax +0 -107
  140. data/syntax/regular_expressions_python.syntax +0 -109
  141. data/syntax/release_notes.syntax +0 -46
  142. data/syntax/remind.syntax +0 -253
  143. data/syntax/restructuredtext.syntax +0 -250
  144. data/syntax/rez.syntax +0 -80
  145. data/syntax/ruby.syntax +0 -1035
  146. data/syntax/ruby_experimental.syntax +0 -145
  147. data/syntax/ruby_on_rails.syntax +0 -88
  148. data/syntax/s5.syntax +0 -69
  149. data/syntax/scheme.syntax +0 -347
  150. data/syntax/scilab.syntax +0 -41
  151. data/syntax/setext.syntax +0 -147
  152. data/syntax/shell-unix-generic.syntax +0 -384
  153. data/syntax/slate.syntax +0 -149
  154. data/syntax/smarty.syntax +0 -63
  155. data/syntax/sql.syntax +0 -237
  156. data/syntax/sql_rails.syntax +0 -18
  157. data/syntax/ssh-config.syntax +0 -33
  158. data/syntax/standard_ml.syntax +0 -121
  159. data/syntax/strings_file.syntax +0 -39
  160. data/syntax/subversion_commit_message.syntax +0 -36
  161. data/syntax/sweave.syntax +0 -84
  162. data/syntax/swig.syntax +0 -57
  163. data/syntax/tcl.syntax +0 -152
  164. data/syntax/template_toolkit.syntax +0 -121
  165. data/syntax/tex.syntax +0 -86
  166. data/syntax/tex_math.syntax +0 -49
  167. data/syntax/textile.syntax +0 -215
  168. data/syntax/tsv.syntax +0 -50
  169. data/syntax/twiki.syntax +0 -241
  170. data/syntax/txt2tags.syntax +0 -79
  171. data/syntax/vectorscript.syntax +0 -57
  172. data/syntax/xhtml_1.0.syntax +0 -4027
  173. data/syntax/xml.syntax +0 -180
  174. data/syntax/xml_strict.syntax +0 -92
  175. data/syntax/xsl.syntax +0 -60
  176. data/syntax/yaml.syntax +0 -160
  177. data/syntax/yui_javascript.syntax +0 -176
  178. data/test/test_uv.rb +0 -0
@@ -1,180 +0,0 @@
1
- ---
2
- name: XML
3
- fileTypes:
4
- - xml
5
- - tld
6
- - jsp
7
- - pt
8
- - cpt
9
- - dtml
10
- - rss
11
- - opml
12
- scopeName: text.xml
13
- repository:
14
- tagStuff:
15
- patterns:
16
- - captures:
17
- "1":
18
- name: entity.other.attribute-name.namespace.xml
19
- "2":
20
- name: entity.other.attribute-name.xml
21
- "3":
22
- name: punctuation.separator.namespace.xml
23
- "4":
24
- name: entity.other.attribute-name.localname.xml
25
- match: " (?:([-_a-zA-Z0-9]+)((:)))?([_a-zA-Z-]+)="
26
- - include: "#doublequotedString"
27
- - include: "#singlequotedString"
28
- singlequotedString:
29
- name: string.quoted.single.xml
30
- endCaptures:
31
- "0":
32
- name: punctuation.definition.string.end.xml
33
- begin: "'"
34
- beginCaptures:
35
- "0":
36
- name: punctuation.definition.string.begin.xml
37
- end: "'"
38
- doublequotedString:
39
- name: string.quoted.double.xml
40
- endCaptures:
41
- "0":
42
- name: punctuation.definition.string.end.xml
43
- begin: "\""
44
- beginCaptures:
45
- "0":
46
- name: punctuation.definition.string.begin.xml
47
- end: "\""
48
- uuid: D3C4E6DA-6B1C-11D9-8CC2-000D93589AF6
49
- foldingStartMarker: ^\s*(<[^!?%/](?!.+?(/>|</.+?>))|<[!%]--(?!.+?--%?>)|<%[!]?(?!.+?%>))
50
- patterns:
51
- - name: meta.tag.preprocessor.xml
52
- captures:
53
- "1":
54
- name: punctuation.definition.tag.xml
55
- "2":
56
- name: entity.name.tag.xml
57
- begin: (<\?)\s*([-_a-zA-Z0-9]+)
58
- end: (\?>)
59
- patterns:
60
- - name: entity.other.attribute-name.xml
61
- match: " ([a-zA-Z-]+)"
62
- - include: "#doublequotedString"
63
- - include: "#singlequotedString"
64
- - name: meta.tag.sgml.doctype.xml
65
- captures:
66
- "1":
67
- name: punctuation.definition.tag.xml
68
- "2":
69
- name: entity.name.tag.doctype.xml
70
- begin: (<!)(DOCTYPE)
71
- end: (>)
72
- patterns:
73
- - captures:
74
- "1":
75
- name: punctuation.definition.tag.xml
76
- "2":
77
- name: entity.name.tag.entity.xml
78
- "3":
79
- name: meta.entity.xml
80
- begin: (<!)(ENTITY)\s([-_a-zA-Z0-9]+)
81
- end: (>)
82
- patterns:
83
- - include: "#doublequotedString"
84
- - include: "#singlequotedString"
85
- - name: comment.block.xml
86
- captures:
87
- "0":
88
- name: punctuation.definition.comment.xml
89
- begin: <[!%]--
90
- end: --%?>
91
- - name: meta.tag.no-content.xml
92
- endCaptures:
93
- "6":
94
- name: entity.name.tag.localname.xml
95
- "7":
96
- name: punctuation.definition.tag.xml
97
- "1":
98
- name: punctuation.definition.tag.xml
99
- "2":
100
- name: meta.scope.between-tag-pair.xml
101
- "3":
102
- name: entity.name.tag.namespace.xml
103
- "4":
104
- name: entity.name.tag.xml
105
- "5":
106
- name: punctuation.separator.namespace.xml
107
- begin: (<)((?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+))(?=(\s[^>]*)?></\2>)
108
- beginCaptures:
109
- "6":
110
- name: entity.name.tag.localname.xml
111
- "1":
112
- name: punctuation.definition.tag.xml
113
- "3":
114
- name: entity.name.tag.namespace.xml
115
- "4":
116
- name: entity.name.tag.xml
117
- "5":
118
- name: punctuation.separator.namespace.xml
119
- end: (>(<))/(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+)(>)
120
- patterns:
121
- - include: "#tagStuff"
122
- - name: meta.tag.xml
123
- captures:
124
- "1":
125
- name: punctuation.definition.tag.xml
126
- "2":
127
- name: entity.name.tag.namespace.xml
128
- "3":
129
- name: entity.name.tag.xml
130
- "4":
131
- name: punctuation.separator.namespace.xml
132
- "5":
133
- name: entity.name.tag.localname.xml
134
- begin: (</?)(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+)
135
- end: (/?>)
136
- patterns:
137
- - include: "#tagStuff"
138
- - name: constant.character.entity.xml
139
- captures:
140
- "1":
141
- name: punctuation.definition.constant.xml
142
- "3":
143
- name: punctuation.definition.constant.xml
144
- match: (&)([a-zA-Z0-9_-]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
145
- - name: invalid.illegal.bad-ampersand.xml
146
- match: "&"
147
- - name: source.java-props.embedded.xml
148
- endCaptures:
149
- "0":
150
- name: punctuation.section.embedded.end.xml
151
- begin: <%@
152
- beginCaptures:
153
- "0":
154
- name: punctuation.section.embedded.begin.xml
155
- end: "%>"
156
- patterns:
157
- - name: keyword.other.page-props.xml
158
- match: page|include|taglib
159
- - name: source.java.embedded.xml
160
- endCaptures:
161
- "0":
162
- name: punctuation.section.embedded.end.xml
163
- begin: <%[!=]?(?!--)
164
- beginCaptures:
165
- "0":
166
- name: punctuation.section.embedded.begin.xml
167
- end: (?!--)%>
168
- patterns:
169
- - include: source.java
170
- - name: string.unquoted.cdata.xml
171
- endCaptures:
172
- "0":
173
- name: punctuation.definition.string.end.xml
174
- begin: <!\[CDATA\[
175
- beginCaptures:
176
- "0":
177
- name: punctuation.definition.string.begin.xml
178
- end: "]]>"
179
- foldingStopMarker: ^\s*(</[^>]+>|[/%]>|-->)\s*$
180
- keyEquivalent: ^~X
@@ -1,92 +0,0 @@
1
- ---
2
- name: XML strict
3
- fileTypes: []
4
-
5
- scopeName: text.xml.strict
6
- uuid: 74AEC234-DD4D-4AB1-B855-253E34E34BFE
7
- foldingStartMarker: ^\s*(<[^!?%/](?!.+?(/>|</.+?>))|<[!%]--(?!.+?--%?>)|<%[!]?(?!.+?%>))
8
- patterns:
9
- - name: meta.tag.processing-instruction.xml
10
- captures:
11
- "0":
12
- name: punctuation.definition.tag.xml
13
- begin: <\?
14
- end: ">"
15
- - name: meta.tag.sgml.xml
16
- captures:
17
- "0":
18
- name: punctuation.definition.tag.xml
19
- begin: <!
20
- end: ">"
21
- - name: meta.tag.xml
22
- endCaptures:
23
- "6":
24
- name: entity.name.tag.localname.xml
25
- "7":
26
- name: punctuation.definition.tag.xml
27
- "8":
28
- name: invalid.illegal.unexpected-end-tag.xml
29
- "1":
30
- name: punctuation.definition.tag.xml
31
- "2":
32
- name: punctuation.definition.tag.xml
33
- "3":
34
- name: entity.name.tag.namespace.xml
35
- "4":
36
- name: entity.name.tag.xml
37
- "5":
38
- name: punctuation.separator.namespace.xml
39
- begin: (<)(?:([-_[:alnum:]]+)((:)))?([-_.:[:alnum:]]+)
40
- beginCaptures:
41
- "6":
42
- name: invalid.illegal.unexpected-end-tag.xml
43
- "1":
44
- name: punctuation.definition.tag.xml
45
- "2":
46
- name: entity.name.tag.namespace.xml
47
- "3":
48
- name: entity.name.tag.xml
49
- "4":
50
- name: punctuation.separator.namespace.xml
51
- "5":
52
- name: entity.name.tag.localname.xml
53
- end: (/>)|(</)(\2)((\4))(\5)(>)|(</[-_.:[:alnum:]]+>)
54
- patterns:
55
- - captures:
56
- "1":
57
- name: entity.other.attribute-name.namespace.xml
58
- "2":
59
- name: entity.other.attribute-name.xml
60
- "3":
61
- name: punctuation.separator.namespace.xml
62
- "4":
63
- name: entity.other.attribute-name.localname.xml
64
- match: \s+(?:([-_a-zA-Z0-9]+)((:)))?([a-zA-Z-]+)=
65
- - name: string.quoted.double.xml
66
- endCaptures:
67
- "0":
68
- name: punctuation.definition.string.end.xml
69
- begin: "\""
70
- beginCaptures:
71
- "0":
72
- name: punctuation.definition.string.begin.xml
73
- end: "\""
74
- - name: string.quoted.single.xml
75
- endCaptures:
76
- "0":
77
- name: punctuation.definition.string.end.xml
78
- begin: "'"
79
- beginCaptures:
80
- "0":
81
- name: punctuation.definition.string.begin.xml
82
- end: "'"
83
- - name: meta.tag-content.xml
84
- begin: ">"
85
- beginCaptures:
86
- "0":
87
- name: punctuation.definition.tag.xml
88
- end: (?=</)
89
- patterns:
90
- - include: $self
91
- foldingStopMarker: ^\s*(</[^>]+>|[/%]>|-->)\s*$
92
- keyEquivalent: ^~X
@@ -1,60 +0,0 @@
1
- ---
2
- name: XSL
3
- fileTypes:
4
- - xsl
5
- - xslt
6
- scopeName: text.xml.xsl
7
- repository:
8
- singlequotedString:
9
- name: string.quoted.single.xml
10
- endCaptures:
11
- "0":
12
- name: punctuation.definition.string.end.xml
13
- begin: "'"
14
- beginCaptures:
15
- "0":
16
- name: punctuation.definition.string.begin.xml
17
- end: "'"
18
- doublequotedString:
19
- name: string.quoted.double.xml
20
- endCaptures:
21
- "0":
22
- name: punctuation.definition.string.end.xml
23
- begin: "\""
24
- beginCaptures:
25
- "0":
26
- name: punctuation.definition.string.begin.xml
27
- end: "\""
28
- uuid: DB8033A1-6D8E-4D80-B8A2-8768AAC6125D
29
- foldingStartMarker: ^\s*(<[^!?%/](?!.+?(/>|</.+?>))|<[!%]--(?!.+?--%?>)|<%[!]?(?!.+?%>))
30
- patterns:
31
- - name: meta.tag.xml.template
32
- captures:
33
- "1":
34
- name: punctuation.definition.tag.xml
35
- "2":
36
- name: entity.name.tag.namespace.xml
37
- "3":
38
- name: entity.name.tag.xml
39
- "4":
40
- name: punctuation.separator.namespace.xml
41
- "5":
42
- name: entity.name.tag.localname.xml
43
- begin: (<)(xsl)((:))(template)
44
- end: (>)
45
- patterns:
46
- - captures:
47
- "1":
48
- name: entity.other.attribute-name.namespace.xml
49
- "2":
50
- name: entity.other.attribute-name.xml
51
- "3":
52
- name: punctuation.separator.namespace.xml
53
- "4":
54
- name: entity.other.attribute-name.localname.xml
55
- match: " (?:([-_a-zA-Z0-9]+)((:)))?([a-zA-Z-]+)"
56
- - include: "#doublequotedString"
57
- - include: "#singlequotedString"
58
- - include: text.xml
59
- foldingStopMarker: ^\s*(</[^>]+>|[/%]>|-->)\s*$
60
- keyEquivalent: ^~X
@@ -1,160 +0,0 @@
1
- ---
2
- name: YAML
3
- fileTypes:
4
- - yaml
5
- - yml
6
- scopeName: source.yaml
7
- repository:
8
- escaped_char:
9
- name: constant.character.escape.yaml
10
- match: \\.
11
- erb:
12
- name: source.ruby.rails.embedded.html
13
- captures:
14
- "0":
15
- name: punctuation.section.embedded.ruby
16
- begin: <%+(?!>)=?
17
- end: "%>"
18
- patterns:
19
- - name: comment.line.number-sign.ruby
20
- captures:
21
- "1":
22
- name: punctuation.definition.comment.ruby
23
- match: (#).*?(?=%>)
24
- - include: source.ruby.rails
25
- uuid: B0C44228-4F1F-11DA-AFF2-000A95AF0064
26
- foldingStartMarker: ^[^#]\s*.*:(\s*\[?| &.+)?$
27
- patterns:
28
- - include: "#erb"
29
- - name: string.unquoted.block.yaml
30
- begin: ^(\s*)(?:(-)|(?:(-\s*)?(\w+\s*(:))))\s*(\||>)
31
- beginCaptures:
32
- "2":
33
- name: punctuation.definition.entry.yaml
34
- "3":
35
- name: punctuation.definition.entry.yaml
36
- "4":
37
- name: entity.name.tag.yaml
38
- "5":
39
- name: punctuation.separator.key-value.yaml
40
- end: ^(?!^\1)|^(?=\1(-|\w+\s*:)|#)
41
- patterns:
42
- - include: "#erb"
43
- - name: constant.numeric.yaml
44
- captures:
45
- "1":
46
- name: punctuation.definition.entry.yaml
47
- "2":
48
- name: entity.name.tag.yaml
49
- "3":
50
- name: punctuation.separator.key-value.yaml
51
- "4":
52
- name: punctuation.definition.entry.yaml
53
- match: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\s*$
54
- - name: string.unquoted.yaml
55
- captures:
56
- "1":
57
- name: punctuation.definition.entry.yaml
58
- "2":
59
- name: entity.name.tag.yaml
60
- "3":
61
- name: punctuation.separator.key-value.yaml
62
- "4":
63
- name: punctuation.definition.entry.yaml
64
- "5":
65
- name: string.unquoted.yaml
66
- match: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*([A-Za-z0-9].*)\s*$
67
- - name: constant.other.date.yaml
68
- captures:
69
- "1":
70
- name: punctuation.definition.entry.yaml
71
- "2":
72
- name: entity.name.tag.yaml
73
- "3":
74
- name: punctuation.separator.key-value.yaml
75
- "4":
76
- name: punctuation.definition.entry.yaml
77
- match: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*([0-9]{4}-[0-9]{2}-[0-9]{2})\s*$
78
- - name: meta.tag.yaml
79
- captures:
80
- "1":
81
- name: entity.name.tag.yaml
82
- "2":
83
- name: punctuation.separator.key-value.yaml
84
- "3":
85
- name: keyword.other.omap.yaml
86
- "4":
87
- name: punctuation.definition.keyword.yaml
88
- match: (\w.*?)(:)\s*((\!\!)omap)?
89
- - name: variable.other.yaml
90
- captures:
91
- "1":
92
- name: punctuation.definition.variable.yaml
93
- match: (\&|\*)\w.*?$
94
- - name: string.quoted.double.yaml
95
- endCaptures:
96
- "0":
97
- name: punctuation.definition.string.end.yaml
98
- begin: "\""
99
- beginCaptures:
100
- "0":
101
- name: punctuation.definition.string.begin.yaml
102
- end: "\""
103
- patterns:
104
- - include: "#escaped_char"
105
- - include: "#erb"
106
- - name: string.quoted.single.yaml
107
- endCaptures:
108
- "0":
109
- name: punctuation.definition.string.end.yaml
110
- begin: "'"
111
- beginCaptures:
112
- "0":
113
- name: punctuation.definition.string.begin.yaml
114
- end: "'"
115
- patterns:
116
- - include: "#escaped_char"
117
- - include: "#erb"
118
- - name: string.interpolated.yaml
119
- endCaptures:
120
- "0":
121
- name: punctuation.definition.string.end.yaml
122
- begin: `
123
- beginCaptures:
124
- "0":
125
- name: punctuation.definition.string.begin.yaml
126
- end: `
127
- patterns:
128
- - include: "#escaped_char"
129
- - include: "#erb"
130
- - name: keyword.operator.merge-key.yaml
131
- captures:
132
- "1":
133
- name: entity.name.tag.yaml
134
- "2":
135
- name: keyword.operator.merge-key.yaml
136
- "3":
137
- name: punctuation.definition.keyword.yaml
138
- match: "(\\<\\<): ((\\*).*)$"
139
- - name: invalid.deprecated.trailing-whitespace.yaml
140
- disabled: "1"
141
- match: ( | )+$
142
- - name: comment.line.number-sign.yaml
143
- captures:
144
- "1":
145
- name: punctuation.definition.comment.yaml
146
- match: (?<!\$)(#)(?!\{).*$\n?
147
- - name: keyword.operator.symbol
148
- match: "-"
149
- - name: meta.leading-tabs.yaml
150
- begin: ^(?=\t)
151
- end: (?=[^\t])
152
- patterns:
153
- - captures:
154
- "1":
155
- name: meta.odd-tab
156
- "2":
157
- name: meta.even-tab
158
- match: (\t)(\t)?
159
- foldingStopMarker: ^\s*$|^\s*\}|^\s*\]|^\s*\)
160
- keyEquivalent: ^~Y