ultraviolet1x 0.12.2 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. data/Gemfile +1 -1
  2. data/Gemfile.lock +2 -2
  3. data/README.rdoc +1 -6
  4. data/lib/uv.rb +1 -1
  5. data/lib/uv/version.rb +1 -1
  6. data/spec/ultraviolet_spec.rb +0 -9
  7. metadata +52 -195
  8. data/syntax/actionscript.syntax +0 -97
  9. data/syntax/active4d.syntax +0 -276
  10. data/syntax/active4d_html.syntax +0 -311
  11. data/syntax/active4d_ini.syntax +0 -50
  12. data/syntax/active4d_library.syntax +0 -21
  13. data/syntax/ada.syntax +0 -33
  14. data/syntax/antlr.syntax +0 -151
  15. data/syntax/apache.syntax +0 -191
  16. data/syntax/applescript.syntax +0 -384
  17. data/syntax/asp.syntax +0 -70
  18. data/syntax/asp_vb.net.syntax +0 -129
  19. data/syntax/bibtex.syntax +0 -151
  20. data/syntax/blog_html.syntax +0 -41
  21. data/syntax/blog_markdown.syntax +0 -42
  22. data/syntax/blog_text.syntax +0 -27
  23. data/syntax/blog_textile.syntax +0 -27
  24. data/syntax/broken/markdown.syntax +0 -543
  25. data/syntax/broken/php.syntax +0 -1253
  26. data/syntax/buggy/nemerle.syntax +0 -74
  27. data/syntax/build.syntax +0 -53
  28. data/syntax/bulletin_board.syntax +0 -287
  29. data/syntax/c++.syntax +0 -186
  30. data/syntax/c.syntax +0 -414
  31. data/syntax/cake.syntax +0 -55
  32. data/syntax/camlp4.syntax +0 -36
  33. data/syntax/cm.syntax +0 -32
  34. data/syntax/coffeescript.syntax +0 -216
  35. data/syntax/coldfusion.syntax +0 -119
  36. data/syntax/context_free.syntax +0 -176
  37. data/syntax/cs.syntax +0 -59
  38. data/syntax/css.syntax +0 -195
  39. data/syntax/css_experimental.syntax +0 -1925
  40. data/syntax/csv.syntax +0 -68
  41. data/syntax/d.syntax +0 -142
  42. data/syntax/diff.syntax +0 -81
  43. data/syntax/dokuwiki.syntax +0 -204
  44. data/syntax/dot.syntax +0 -47
  45. data/syntax/doxygen.syntax +0 -43
  46. data/syntax/dylan.syntax +0 -62
  47. data/syntax/eiffel.syntax +0 -78
  48. data/syntax/erlang.syntax +0 -922
  49. data/syntax/f-script.syntax +0 -80
  50. data/syntax/fortran.syntax +0 -141
  51. data/syntax/fxscript.syntax +0 -142
  52. data/syntax/greasemonkey.syntax +0 -34
  53. data/syntax/gri.syntax +0 -83
  54. data/syntax/groovy.syntax +0 -191
  55. data/syntax/gtd.syntax +0 -22
  56. data/syntax/gtdalt.syntax +0 -143
  57. data/syntax/haml.syntax +0 -88
  58. data/syntax/haskell.syntax +0 -88
  59. data/syntax/html-asp.syntax +0 -27
  60. data/syntax/html.syntax +0 -362
  61. data/syntax/html_django.syntax +0 -36
  62. data/syntax/html_for_asp.net.syntax +0 -424
  63. data/syntax/html_mason.syntax +0 -119
  64. data/syntax/html_rails.syntax +0 -40
  65. data/syntax/html_tcl.syntax +0 -26
  66. data/syntax/icalendar.syntax +0 -32
  67. data/syntax/inform.syntax +0 -48
  68. data/syntax/ini.syntax +0 -55
  69. data/syntax/installer_distribution_script.syntax +0 -77
  70. data/syntax/io.syntax +0 -81
  71. data/syntax/java.syntax +0 -211
  72. data/syntax/javaproperties.syntax +0 -20
  73. data/syntax/javascript.syntax +0 -256
  74. data/syntax/javascript_+_prototype.syntax +0 -72
  75. data/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  76. data/syntax/jquery_javascript.syntax +0 -114
  77. data/syntax/json.syntax +0 -136
  78. data/syntax/languagedefinition.syntax +0 -708
  79. data/syntax/latex.syntax +0 -566
  80. data/syntax/latex_beamer.syntax +0 -41
  81. data/syntax/latex_log.syntax +0 -50
  82. data/syntax/latex_memoir.syntax +0 -64
  83. data/syntax/lexflex.syntax +0 -219
  84. data/syntax/lighttpd.syntax +0 -54
  85. data/syntax/lilypond.syntax +0 -492
  86. data/syntax/lisp.syntax +0 -61
  87. data/syntax/literate_haskell.syntax +0 -24
  88. data/syntax/logo.syntax +0 -29
  89. data/syntax/logtalk.syntax +0 -152
  90. data/syntax/lua.syntax +0 -86
  91. data/syntax/m.syntax +0 -142
  92. data/syntax/macports_portfile.syntax +0 -163
  93. data/syntax/mail.syntax +0 -118
  94. data/syntax/makefile.syntax +0 -36
  95. data/syntax/man.syntax +0 -17
  96. data/syntax/mediawiki.syntax +0 -567
  97. data/syntax/mel.syntax +0 -92
  98. data/syntax/mips.syntax +0 -66
  99. data/syntax/mod_perl.syntax +0 -50
  100. data/syntax/modula-3.syntax +0 -47
  101. data/syntax/moinmoin.syntax +0 -189
  102. data/syntax/mootools.syntax +0 -572
  103. data/syntax/movable_type.syntax +0 -162
  104. data/syntax/multimarkdown.syntax +0 -39
  105. data/syntax/objective-c++.syntax +0 -18
  106. data/syntax/objective-c.syntax +0 -233
  107. data/syntax/ocaml.syntax +0 -764
  108. data/syntax/ocamllex.syntax +0 -167
  109. data/syntax/ocamlyacc.syntax +0 -184
  110. data/syntax/old/YAML.yaml +0 -160
  111. data/syntax/old/txt2tags.yaml +0 -139
  112. data/syntax/opengl.syntax +0 -14
  113. data/syntax/pascal.syntax +0 -77
  114. data/syntax/perl.syntax +0 -1113
  115. data/syntax/plain_text.syntax +0 -32
  116. data/syntax/pmwiki.syntax +0 -113
  117. data/syntax/postscript.syntax +0 -114
  118. data/syntax/processing.syntax +0 -106
  119. data/syntax/prolog.syntax +0 -40
  120. data/syntax/property_list.syntax +0 -635
  121. data/syntax/python.syntax +0 -868
  122. data/syntax/python_django.syntax +0 -21
  123. data/syntax/qmake_project.syntax +0 -114
  124. data/syntax/qt_c++.syntax +0 -26
  125. data/syntax/quake3_config.syntax +0 -32
  126. data/syntax/r.syntax +0 -81
  127. data/syntax/r_console.syntax +0 -16
  128. data/syntax/ragel.syntax +0 -201
  129. data/syntax/rd_r_documentation.syntax +0 -91
  130. data/syntax/regexp.syntax +0 -50
  131. data/syntax/regular_expressions_oniguruma.syntax +0 -107
  132. data/syntax/regular_expressions_python.syntax +0 -109
  133. data/syntax/release_notes.syntax +0 -46
  134. data/syntax/remind.syntax +0 -253
  135. data/syntax/restructuredtext.syntax +0 -250
  136. data/syntax/rez.syntax +0 -80
  137. data/syntax/ruby.syntax +0 -1035
  138. data/syntax/ruby_experimental.syntax +0 -145
  139. data/syntax/ruby_on_rails.syntax +0 -88
  140. data/syntax/s5.syntax +0 -69
  141. data/syntax/sass.syntax +0 -45
  142. data/syntax/scheme.syntax +0 -347
  143. data/syntax/scilab.syntax +0 -41
  144. data/syntax/setext.syntax +0 -147
  145. data/syntax/shell-unix-generic.syntax +0 -384
  146. data/syntax/slate.syntax +0 -149
  147. data/syntax/smarty.syntax +0 -63
  148. data/syntax/sql.syntax +0 -237
  149. data/syntax/sql_rails.syntax +0 -18
  150. data/syntax/ssh-config.syntax +0 -33
  151. data/syntax/standard_ml.syntax +0 -121
  152. data/syntax/strings_file.syntax +0 -39
  153. data/syntax/subversion_commit_message.syntax +0 -36
  154. data/syntax/sweave.syntax +0 -84
  155. data/syntax/swig.syntax +0 -57
  156. data/syntax/tcl.syntax +0 -152
  157. data/syntax/template_toolkit.syntax +0 -121
  158. data/syntax/tex.syntax +0 -86
  159. data/syntax/tex_math.syntax +0 -49
  160. data/syntax/textile.syntax +0 -215
  161. data/syntax/tsv.syntax +0 -50
  162. data/syntax/twiki.syntax +0 -241
  163. data/syntax/txt2tags.syntax +0 -79
  164. data/syntax/vectorscript.syntax +0 -57
  165. data/syntax/xhtml_1.0.syntax +0 -4027
  166. data/syntax/xml.syntax +0 -180
  167. data/syntax/xml_strict.syntax +0 -92
  168. data/syntax/xsl.syntax +0 -60
  169. data/syntax/yaml.syntax +0 -160
  170. data/syntax/yui_javascript.syntax +0 -176
@@ -1,566 +0,0 @@
1
- ---
2
- name: LaTeX
3
- fileTypes:
4
- - tex
5
- firstLineMatch: ^\\documentclass(?!.*\{beamer\})
6
- scopeName: text.tex.latex
7
- uuid: 3BEEA00C-6B1D-11D9-B8AD-000D93589AF6
8
- foldingStartMarker: \\begin\{.*\}|%.*\(fold\)\s*$
9
- patterns:
10
- - name: meta.space-after-command.latex
11
- match: (?=\s)(?<=\\[\w@]|\\[\w@]{2}|\\[\w@]{3}|\\[\w@]{4}|\\[\w@]{5}|\\[\w@]{6})\s
12
- - name: meta.preamble.latex
13
- endCaptures:
14
- "0":
15
- name: punctuation.definition.arguments.end.latex
16
- begin: ((\\)(?:usepackage|documentclass))(?:(\[)([^\]]*)(\]))?(\{)
17
- contentName: support.class.latex
18
- beginCaptures:
19
- "6":
20
- name: punctuation.definition.arguments.begin.latex
21
- "1":
22
- name: keyword.control.preamble.latex
23
- "2":
24
- name: punctuation.definition.function.latex
25
- "3":
26
- name: punctuation.definition.arguments.begin.latex
27
- "4":
28
- name: variable.parameter.latex
29
- "5":
30
- name: punctuation.definition.arguments.end.latex
31
- end: \}
32
- patterns:
33
- - include: $self
34
- - name: meta.include.latex
35
- endCaptures:
36
- "0":
37
- name: punctuation.definition.arguments.end.latex
38
- begin: ((\\)(?:include|input))(\{)
39
- contentName: support.class.latex
40
- beginCaptures:
41
- "1":
42
- name: keyword.control.include.latex
43
- "2":
44
- name: punctuation.definition.function.latex
45
- "3":
46
- name: punctuation.definition.arguments.begin.latex
47
- end: \}
48
- patterns:
49
- - include: $self
50
- - name: meta.function.section.latex
51
- endCaptures:
52
- "0":
53
- name: punctuation.definition.arguments.end.latex
54
- begin: "(?x)\n\
55
- \t\t\t\t(\t\t\t\t\t\t\t\t\t\t\t\t\t# Capture 1\n\
56
- \t\t\t\t\t(\\\\)\t\t\t\t\t\t\t\t\t\t\t# Marker\n\
57
- \t\t\t\t\t(?:\n\
58
- \t\t\t\t\t\t(?:sub){0,2}section\t\t\t\t\t\t\t# Functions\n\
59
- \t\t\t\t\t | (?:sub)?paragraph\n\
60
- \t\t\t\t\t | chapter|part|addpart\n\
61
- \t\t\t\t\t | addchap|addsec|minisec\n\
62
- \t\t\t\t\t)\n\
63
- \t\t\t\t\t(?:\\*)?\t\t\t\t\t\t\t\t\t\t\t# Optional Unnumbered\n\
64
- \t\t\t\t)\n\
65
- \t\t\t\t(?:\n\
66
- \t\t\t\t\t(\\[)([^\\[]*?)(\\])\t\t\t\t\t\t\t\t# Optional Title\n\
67
- \t\t\t\t)??\n\
68
- \t\t\t\t(\\{)\t\t\t\t\t\t\t\t\t\t\t\t# Opening Bracket\n\
69
- \t\t\t\t"
70
- contentName: entity.name.section.latex
71
- beginCaptures:
72
- "6":
73
- name: punctuation.definition.arguments.begin.latex
74
- "1":
75
- name: support.function.section.latex
76
- "2":
77
- name: punctuation.definition.function.latex
78
- "3":
79
- name: punctuation.definition.arguments.optional.begin.latex
80
- "4":
81
- name: entity.name.section.latex
82
- "5":
83
- name: punctuation.definition.arguments.optional.end.latex
84
- end: \}
85
- patterns:
86
- - include: $self
87
- comment: this works OK with all kinds of crazy stuff as long as section is one line
88
- - name: meta.function.embedded.java.latex
89
- captures:
90
- "6":
91
- name: punctuation.definition.arguments.optional.begin.latex
92
- "7":
93
- name: punctuation.definition.arguments.optional.end.latex
94
- "8":
95
- name: comment.line.percentage.latex
96
- "1":
97
- name: support.function.be.latex
98
- "2":
99
- name: punctuation.definition.function.latex
100
- "3":
101
- name: punctuation.definition.arguments.begin.latex
102
- "4":
103
- name: variable.parameter.function.latex
104
- "5":
105
- name: punctuation.definition.arguments.end.latex
106
- begin: (?:\s*)((\\)begin)(\{)(lstlisting)(\})(?:(\[).*(\]))?(\s*%\s*(?i:Java)\n?)
107
- contentName: source.java.embedded
108
- end: ((\\)end)(\{)(lstlisting)(\})
109
- patterns:
110
- - include: source.java
111
- - name: meta.function.embedded.python.latex
112
- captures:
113
- "6":
114
- name: punctuation.definition.arguments.optional.begin.latex
115
- "7":
116
- name: punctuation.definition.arguments.optional.end.latex
117
- "8":
118
- name: comment.line.percentage.latex
119
- "1":
120
- name: support.function.be.latex
121
- "2":
122
- name: punctuation.definition.function.latex
123
- "3":
124
- name: punctuation.definition.arguments.begin.latex
125
- "4":
126
- name: variable.parameter.function.latex
127
- "5":
128
- name: punctuation.definition.arguments.end.latex
129
- begin: (?:\s*)((\\)begin)(\{)(lstlisting)(\})(?:(\[).*(\]))?(\s*%.*\n?)?
130
- contentName: source.python.embedded
131
- end: ((\\)end)(\{)(lstlisting)(\})
132
- patterns:
133
- - include: source.python
134
- comment: Put the lstlisting match before the more general environment listing. Someday it would be nice to make this rule general enough to figure out which language is inside the lstlisting environment rather than my own personal use for python. --Brad
135
- - name: meta.function.verbatim.latex
136
- captures:
137
- "1":
138
- name: support.function.be.latex
139
- "2":
140
- name: punctuation.definition.function.latex
141
- "3":
142
- name: punctuation.definition.arguments.begin.latex
143
- "4":
144
- name: variable.parameter.function.latex
145
- "5":
146
- name: punctuation.definition.arguments.end.latex
147
- begin: (?:\s*)((\\)begin)(\{)((?:V|v)erbatim)(\})
148
- contentName: markup.raw.verbatim.latex
149
- end: ((\\)end)(\{)(\4)(\})
150
- - name: meta.function.begin-document.latex
151
- captures:
152
- "1":
153
- name: support.function.be.latex
154
- "2":
155
- name: punctuation.definition.function.latex
156
- "3":
157
- name: punctuation.definition.arguments.begin.latex
158
- "4":
159
- name: variable.parameter.function.latex
160
- "5":
161
- name: punctuation.definition.arguments.end.latex
162
- match: (?:\s*)((\\)begin)(\{)(document)(\})
163
- comment: These two patterns match the \begin{document} and \end{document} commands, so that the environment matching pattern following them will ignore those commands.
164
- - name: meta.function.end-document.latex
165
- captures:
166
- "1":
167
- name: support.function.be.latex
168
- "2":
169
- name: punctuation.definition.function.latex
170
- "3":
171
- name: punctuation.definition.arguments.begin.latex
172
- "4":
173
- name: variable.parameter.function.latex
174
- "5":
175
- name: punctuation.definition.arguments.end.latex
176
- match: (?:\s*)((\\)end)(\{)(document)(\})
177
- - name: meta.function.environment.math.latex
178
- captures:
179
- "1":
180
- name: support.function.be.latex
181
- "2":
182
- name: punctuation.definition.function.latex
183
- "3":
184
- name: punctuation.definition.arguments.begin.latex
185
- "4":
186
- name: variable.parameter.function.latex
187
- "5":
188
- name: punctuation.definition.arguments.end.latex
189
- begin: "(?x)\n\
190
- \t\t\t\t\t(?:\\s*)\t\t\t\t\t\t\t\t\t\t# Optional whitespace\n\
191
- \t\t\t\t\t((\\\\)begin)\t\t\t\t\t\t\t\t\t# Marker - Function\n\
192
- \t\t\t\t\t(\\{)\t\t\t\t\t\t\t\t\t\t# Open Bracket\n\
193
- \t\t\t\t\t\t(\n\
194
- \t\t\t\t\t\t\t(?:\n\
195
- \t\t\t\t\t\t\t\talign|equation|eqnarray\t\t\t# Argument\n\
196
- \t\t\t\t\t\t\t | multline|aligned|alignat\n\
197
- \t\t\t\t\t\t\t | split|gather|gathered\n\
198
- \t\t\t\t\t\t\t)\n\
199
- \t\t\t\t\t\t\t(?:\\*)?\t\t\t\t\t\t\t\t# Optional Unnumbered\n\
200
- \t\t\t\t\t\t)\n\
201
- \t\t\t\t\t(\\})\t\t\t\t\t\t\t\t\t\t# Close Bracket\n\
202
- \t\t\t\t\t(\\s*\\n)?\t\t\t\t# Match to end of line absent of content\n\
203
- \t\t\t\t"
204
- contentName: string.other.math.block.environment.latex
205
- end: "(?x)\n\
206
- \t\t\t\t\t(?:\\s*)\t\t\t\t\t\t\t\t\t\t# Optional whitespace\n\
207
- \t\t\t\t\t((\\\\)end)\t\t\t\t\t\t\t\t\t# Marker - Function\n\
208
- \t\t\t\t\t(\\{)\t\t\t\t\t\t\t\t\t\t# Open Bracket\n\
209
- \t\t\t\t\t\t(\\4)\t\t\t\t# Previous capture from begin\n\
210
- \t\t\t\t\t(\\})\t\t\t\t\t\t\t\t\t\t# Close Bracket\n\
211
- \t\t\t\t\t(?:\\s*\\n)?\t\t\t\t# Match to end of line absent of content\n\
212
- \t\t\t\t"
213
- patterns:
214
- - include: $base
215
- - name: meta.function.environment.tabular.latex
216
- captures:
217
- "1":
218
- name: support.function.be.latex
219
- "2":
220
- name: punctuation.definition.function.latex
221
- "3":
222
- name: punctuation.definition.arguments.begin.latex
223
- "4":
224
- name: variable.parameter.function.latex
225
- "5":
226
- name: punctuation.definition.arguments.end.latex
227
- begin: "(?x)\n\
228
- \t\t\t\t\t(?:\\s*)\t\t\t\t\t\t\t\t\t\t# Optional whitespace\n\
229
- \t\t\t\t\t((\\\\)begin)\t\t\t\t\t\t\t\t\t# Marker - Function\n\
230
- \t\t\t\t\t(\\{)\t\t\t\t\t\t\t\t\t\t# Open Bracket\n\
231
- \t\t\t\t\t\t(array|tabular[xy*]?)\n\
232
- \t\t\t\t\t(\\})\t\t\t\t\t\t\t\t\t\t# Close Bracket\n\
233
- \t\t\t\t\t(\\s*\\n)?\t\t\t\t# Match to end of line absent of content\n\
234
- \t\t\t\t"
235
- contentName: meta.data.environment.tabular.latex
236
- end: "(?x)\n\
237
- \t\t\t\t\t(?:\\s*)\t\t\t\t\t\t\t\t\t\t# Optional whitespace\n\
238
- \t\t\t\t\t((\\\\)end)\t\t\t\t\t\t\t\t\t# Marker - Function\n\
239
- \t\t\t\t\t(\\{)\t\t\t\t\t\t\t\t\t\t# Open Bracket\n\
240
- \t\t\t\t\t\t(\\4)\t\t\t\t# Previous capture from begin\n\
241
- \t\t\t\t\t(\\})\t\t\t\t\t\t\t\t\t\t# Close Bracket\n\
242
- \t\t\t\t\t(?:\\s*\\n)?\t\t\t\t# Match to end of line absent of content\n\
243
- \t\t\t\t"
244
- patterns:
245
- - name: punctuation.definition.table.row.latex
246
- match: \\
247
- - name: meta.row.environment.tabular.latex
248
- begin: (?:^|(?<=\\\\))(?!\\\\|\s*\\end\{(?:tabular|array))
249
- end: (?=\\\\|\s*\\end\{(?:tabular|array))
250
- patterns:
251
- - name: punctuation.definition.table.cell.latex
252
- match: "&"
253
- - name: meta.cell.environment.tabular.latex
254
- begin: (?:^|(?<=&))((?!&|\\\\|$))
255
- end: (?=&|\\\\|\s*\\end\{(?:tabular|array))
256
- patterns:
257
- - include: $base
258
- - include: $base
259
- - include: $base
260
- - name: meta.function.environment.list.latex
261
- captures:
262
- "1":
263
- name: support.function.be.latex
264
- "2":
265
- name: punctuation.definition.function.latex
266
- "3":
267
- name: punctuation.definition.arguments.latex
268
- "4":
269
- name: variable.parameter.function.latex
270
- "5":
271
- name: punctuation.definition.arguments.latex
272
- begin: (?:\s*)((\\)begin)(\{)(itemize|enumerate|description|list)(\})
273
- end: ((\\)end)(\{)(\4)(\})(?:\s*\n)?
274
- patterns:
275
- - include: $base
276
- - name: meta.function.environment.general.latex
277
- captures:
278
- "1":
279
- name: support.function.be.latex
280
- "2":
281
- name: punctuation.definition.function.latex
282
- "3":
283
- name: punctuation.definition.arguments.latex
284
- "4":
285
- name: variable.parameter.function.latex
286
- "5":
287
- name: punctuation.definition.arguments.latex
288
- begin: (?:\s*)((\\)begin)(\{)(\w+[*]?)(\})
289
- end: ((\\)end)(\{)(\4)(\})(?:\s*\n)?
290
- patterns:
291
- - include: $base
292
- - name: storage.type.function.latex
293
- captures:
294
- "1":
295
- name: punctuation.definition.function.latex
296
- match: (\\)(newcommand|renewcommand)\b
297
- - endCaptures:
298
- "0":
299
- name: punctuation.definition.marginpar.end.latex
300
- begin: ((\\)marginpar)(\{)
301
- contentName: meta.paragraph.margin.latex
302
- beginCaptures:
303
- "1":
304
- name: support.function.marginpar.latex
305
- "2":
306
- name: punctuation.definition.function.latex
307
- "3":
308
- name: punctuation.definition.marginpar.begin.latex
309
- end: \}
310
- patterns:
311
- - include: $base
312
- - endCaptures:
313
- "0":
314
- name: punctuation.definition.footnote.end.latex
315
- begin: ((\\)footnote)(\{)
316
- contentName: meta.footnote.latex
317
- beginCaptures:
318
- "1":
319
- name: support.function.footnote.latex
320
- "2":
321
- name: punctuation.definition.function.latex
322
- "3":
323
- name: punctuation.definition.footnote.begin.latex
324
- end: \}
325
- patterns:
326
- - include: $base
327
- - name: meta.function.emph.latex
328
- endCaptures:
329
- "0":
330
- name: punctuation.definition.emph.end.latex
331
- begin: ((\\)emph)(\{)
332
- contentName: markup.italic.emph.latex
333
- beginCaptures:
334
- "1":
335
- name: support.function.emph.latex
336
- "2":
337
- name: punctuation.definition.function.latex
338
- "3":
339
- name: punctuation.definition.emph.begin.latex
340
- end: \}
341
- patterns:
342
- - include: $base
343
- - name: meta.function.textit.latex
344
- endCaptures:
345
- "0":
346
- name: punctuation.definition.textit.end.latex
347
- captures:
348
- "1":
349
- name: support.function.textit.latex
350
- "2":
351
- name: punctuation.definition.function.latex
352
- "3":
353
- name: punctuation.definition.textit.begin.latex
354
- begin: ((\\)textit)(\{)
355
- contentName: markup.italic.textit.latex
356
- end: \}
357
- patterns:
358
- - include: $base
359
- comment: "We put the keyword in a capture and name this capture, so that disabling spell checking for \xE2\x80\x9Ckeyword\xE2\x80\x9D won't be inherited by the argument to \\textit{...}.\n\n\
360
- Put specific matches for particular LaTeX keyword.functions before the last two more general functions"
361
- - name: meta.function.textbf.latex
362
- endCaptures:
363
- "0":
364
- name: punctuation.definition.textbf.end.latex
365
- captures:
366
- "1":
367
- name: support.function.textbf.latex
368
- "2":
369
- name: punctuation.definition.function.latex
370
- "3":
371
- name: punctuation.definition.textbf.begin.latex
372
- begin: ((\\)textbf)(\{)
373
- contentName: markup.bold.textbf.latex
374
- end: \}
375
- patterns:
376
- - include: $base
377
- - name: meta.function.texttt.latex
378
- endCaptures:
379
- "0":
380
- name: punctuation.definition.texttt.end.latex
381
- captures:
382
- "1":
383
- name: support.function.texttt.latex
384
- "2":
385
- name: punctuation.definition.function.latex
386
- "3":
387
- name: punctuation.definition.texttt.begin.latex
388
- begin: ((\\)texttt)(\{)
389
- contentName: markup.raw.texttt.latex
390
- end: \}
391
- patterns:
392
- - include: $base
393
- - name: meta.scope.item.latex
394
- captures:
395
- "0":
396
- name: keyword.other.item.latex
397
- "1":
398
- name: punctuation.definition.keyword.latex
399
- match: (\\)item\b
400
- - name: meta.citation.latex
401
- endCaptures:
402
- "0":
403
- name: punctuation.definition.arguments.latex
404
- captures:
405
- "6":
406
- name: punctuation.definition.arguments.optional.end.latex
407
- "7":
408
- name: punctuation.definition.arguments.latex
409
- "1":
410
- name: keyword.control.cite.latex
411
- "2":
412
- name: punctuation.definition.keyword.latex
413
- "3":
414
- name: punctuation.definition.arguments.optional.begin.latex
415
- "4":
416
- name: punctuation.definition.arguments.optional.end.latex
417
- "5":
418
- name: punctuation.definition.arguments.optional.begin.latex
419
- begin: "(?x)\n\
420
- \t\t\t\t\t(\n\
421
- \t\t\t\t\t\t(\\\\)\t\t\t\t\t\t\t\t\t\t# Marker\n\
422
- \t\t\t\t\t\t(?:foot)?(?:full)?(?:no)?(?:short)?\t\t# Function Name\n\
423
- \t\t\t\t\t\tcite\n\
424
- \t\t\t\t\t\t(?:al)?(?:t|p|author|year(?:par)?|title)?[ANP]*\n\
425
- \t\t\t\t\t\t\\*?\t\t\t\t\t\t\t\t\t\t\t# Optional Unabreviated\n\
426
- \t\t\t\t\t)\n\
427
- \t\t\t\t\t(?:(\\[)[^\\]]*(\\]))?\t\t\t\t\t\t\t\t# Optional\n\
428
- \t\t\t\t\t(?:(\\[)[^\\]]*(\\]))?\t\t\t\t\t\t\t\t# Arguments\n\
429
- \t\t\t\t\t(\\{)\t\t\t\t\t\t\t\t\t\t\t# Opening Bracket\n\
430
- \t\t\t\t"
431
- end: \}
432
- patterns:
433
- - name: constant.other.reference.citation.latex
434
- match: "[\\w:.]+"
435
- - name: meta.reference.label.latex
436
- endCaptures:
437
- "0":
438
- name: punctuation.definition.arguments.begin.latex
439
- begin: ((\\)(?:\w*[r|R]ef\*?))(\{)
440
- beginCaptures:
441
- "1":
442
- name: keyword.control.ref.latex
443
- "2":
444
- name: punctuation.definition.keyword.latex
445
- "3":
446
- name: punctuation.definition.arguments.begin.latex
447
- end: \}
448
- patterns:
449
- - name: constant.other.reference.label.latex
450
- match: "[a-zA-Z0-9\\.,:/*!^_-]"
451
- - name: meta.definition.label.latex
452
- endCaptures:
453
- "0":
454
- name: punctuation.definition.arguments.end.latex
455
- begin: ((\\)label)(\{)
456
- beginCaptures:
457
- "1":
458
- name: keyword.control.label.latex
459
- "2":
460
- name: punctuation.definition.keyword.latex
461
- "3":
462
- name: punctuation.definition.arguments.begin.latex
463
- end: \}
464
- patterns:
465
- - name: variable.parameter.definition.label.latex
466
- match: "[a-zA-Z0-9\\.,:/*!^_-]"
467
- - name: meta.function.verb.latex
468
- captures:
469
- "1":
470
- name: support.function.verb.latex
471
- "2":
472
- name: punctuation.definition.function.latex
473
- "3":
474
- name: punctuation.definition.verb.latex
475
- "4":
476
- name: markup.raw.verb.latex
477
- "5":
478
- name: punctuation.definition.verb.latex
479
- match: ((\\)verb[\*]?)\s*((?<=\s)\S|[^a-zA-Z])(.*?)(\3|$)
480
- - name: string.quoted.double.european.latex
481
- endCaptures:
482
- "0":
483
- name: punctuation.definition.string.end.latex
484
- begin: "\"`"
485
- beginCaptures:
486
- "0":
487
- name: punctuation.definition.string.begin.latex
488
- end: "\"'"
489
- patterns:
490
- - include: $base
491
- - name: string.quoted.double.latex
492
- endCaptures:
493
- "0":
494
- name: punctuation.definition.string.end.latex
495
- begin: "``"
496
- beginCaptures:
497
- "0":
498
- name: punctuation.definition.string.begin.latex
499
- end: "''|\""
500
- patterns:
501
- - include: $base
502
- - name: string.quoted.double.guillemot.latex
503
- endCaptures:
504
- "0":
505
- name: punctuation.definition.string.end.latex
506
- begin: "\">"
507
- beginCaptures:
508
- "0":
509
- name: punctuation.definition.string.begin.latex
510
- end: "\"<"
511
- patterns:
512
- - include: $base
513
- - name: string.quoted.double.guillemot.latex
514
- endCaptures:
515
- "0":
516
- name: punctuation.definition.string.end.latex
517
- begin: "\"<"
518
- beginCaptures:
519
- "0":
520
- name: punctuation.definition.string.begin.latex
521
- end: "\">"
522
- patterns:
523
- - include: $base
524
- - name: string.other.math.latex
525
- endCaptures:
526
- "0":
527
- name: punctuation.definition.string.end.latex
528
- begin: \\\(
529
- beginCaptures:
530
- "0":
531
- name: punctuation.definition.string.begin.latex
532
- end: \\\)
533
- patterns:
534
- - include: $base
535
- - name: string.other.math.latex
536
- endCaptures:
537
- "0":
538
- name: punctuation.definition.string.end.latex
539
- begin: \\\[
540
- beginCaptures:
541
- "0":
542
- name: punctuation.definition.string.begin.latex
543
- end: \\\]
544
- patterns:
545
- - include: $base
546
- - name: meta.escape-character.latex
547
- match: \\$
548
- - name: invalid.illegal.string.quoted.single.latex
549
- match: (?<!\S)'.*?'
550
- - name: invalid.illegal.string.quoted.double.latex
551
- match: (?<!\S)".*?"
552
- - name: constant.character.latex
553
- captures:
554
- "1":
555
- name: punctuation.definition.constant.latex
556
- match: (\\)(text(s(terling|ixoldstyle|urd|e(ction|venoldstyle|rvicemark))|yen|n(ineoldstyle|umero|aira)|c(ircledP|o(py(left|right)|lonmonetary)|urrency|e(nt(oldstyle)?|lsius))|t(hree(superior|oldstyle|quarters(emdash)?)|i(ldelow|mes)|w(o(superior|oldstyle)|elveudash)|rademark)|interrobang(down)?|zerooldstyle|o(hm|ne(superior|half|oldstyle|quarter)|penbullet|rd(feminine|masculine))|d(i(scount|ed|v(orced)?)|o(ng|wnarrow|llar(oldstyle)?)|egree|agger(dbl)?|blhyphen(char)?)|uparrow|p(ilcrow|e(so|r(t(housand|enthousand)|iodcentered))|aragraph|m)|e(stimated|ightoldstyle|uro)|quotes(traight(dblbase|base)|ingle)|f(iveoldstyle|ouroldstyle|lorin|ractionsolidus)|won|l(not|ira|e(ftarrow|af)|quill|angle|brackdbl)|a(s(cii(caron|dieresis|acute|grave|macron|breve)|teriskcentered)|cutedbl)|r(ightarrow|e(cipe|ferencemark|gistered)|quill|angle|brackdbl)|g(uarani|ravedbl)|m(ho|inus|u(sicalnote)?|arried)|b(igcircle|orn|ullet|lank|a(ht|rdbl)|rokenbar)))\b
557
- - name: meta.column-specials.latex
558
- captures:
559
- "1":
560
- name: punctuation.definition.column-specials.begin.latex
561
- "2":
562
- name: punctuation.definition.column-specials.end.latex
563
- match: (?:<|>)(\{)\$(\})
564
- - include: text.tex
565
- foldingStopMarker: \\end\{.*\}|%.*\(end\)\s*$
566
- keyEquivalent: ^~L