github-linguist 7.6.0 → 7.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +5 -5
  2. data/bin/github-linguist +17 -4
  3. data/grammars/annotation.liquidhaskell.haskell.json +58 -11
  4. data/grammars/etc.json +472 -4
  5. data/grammars/hidden.manref.json +29 -0
  6. data/grammars/hidden.regexp.injection-shell.json +28 -0
  7. data/grammars/hint.haskell.json +58 -11
  8. data/grammars/hint.message.haskell.json +58 -11
  9. data/grammars/hint.type.haskell.json +58 -11
  10. data/grammars/injections.etc.json +601 -1
  11. data/grammars/markdown.plantuml.codeblock.json +26 -0
  12. data/grammars/source.4dm.json +1156 -0
  13. data/grammars/source.abap.json +7 -7
  14. data/grammars/source.abl.json +685 -83
  15. data/grammars/source.abnf.json +23 -1
  16. data/grammars/source.agda.json +33 -203
  17. data/grammars/source.ahk.json +9 -5
  18. data/grammars/source.angelscript.json +1 -1
  19. data/grammars/source.ballerina.json +55 -19
  20. data/grammars/source.c++.json +4 -4
  21. data/grammars/source.c.platform.json +584 -33
  22. data/grammars/source.chapel.json +7 -4
  23. data/grammars/source.csound.json +1 -1
  24. data/grammars/source.css.json +3 -3
  25. data/grammars/source.css.scss.json +164 -15
  26. data/grammars/source.curlrc.json +869 -65
  27. data/grammars/source.d.json +2 -2
  28. data/grammars/source.dart.json +58 -32
  29. data/grammars/source.dircolors.json +137 -0
  30. data/grammars/source.direct-x.json +135 -0
  31. data/grammars/source.ebnf.json +67 -39
  32. data/grammars/source.editorconfig.json +23 -5
  33. data/grammars/source.elixir.json +51 -0
  34. data/grammars/source.elm.json +1 -1
  35. data/grammars/source.emacs.lisp.json +10 -0
  36. data/grammars/source.faust.json +119 -0
  37. data/grammars/source.futhark.json +146 -0
  38. data/grammars/source.gcode.json +166 -8
  39. data/grammars/source.gedcom.json +196 -0
  40. data/grammars/source.generic-db.json +41 -0
  41. data/grammars/source.gfm.blade.json +15 -0
  42. data/grammars/source.gfm.json +1697 -1439
  43. data/grammars/source.gitconfig.json +1 -1
  44. data/grammars/source.hack.json +200 -98
  45. data/grammars/source.haskell.json +58 -11
  46. data/grammars/source.hlsl.json +9 -5
  47. data/grammars/source.hosts.json +40 -0
  48. data/grammars/source.hsig.json +58 -11
  49. data/grammars/source.httpspec.json +1 -1
  50. data/grammars/source.hx.json +9 -5
  51. data/grammars/source.hxml.json +2 -2
  52. data/grammars/source.idris.json +1 -1
  53. data/grammars/source.igor.json +46 -2
  54. data/grammars/source.ini.npmrc.json +311 -0
  55. data/grammars/source.inno.json +133 -0
  56. data/grammars/source.inputrc.json +500 -0
  57. data/grammars/source.isabelle.root.json +1 -1
  58. data/grammars/source.jison.json +3 -0
  59. data/grammars/source.jisonlex.json +3 -0
  60. data/grammars/source.js.json +4 -4
  61. data/grammars/source.julia.json +70 -24
  62. data/grammars/source.kotlin.json +17 -51
  63. data/grammars/source.lcov.json +398 -0
  64. data/grammars/source.lean.json +20 -4
  65. data/grammars/source.lean.markdown.json +2598 -0
  66. data/grammars/source.lex.json +4 -4
  67. data/grammars/source.m2.json +125 -0
  68. data/grammars/source.m4.json +141 -99
  69. data/grammars/source.man-conf.json +47 -35
  70. data/grammars/source.matlab.json +437 -184
  71. data/grammars/source.mcfunction-snapshot.json +21388 -561
  72. data/grammars/source.mcfunction.json +55 -5
  73. data/grammars/source.meson.json +1 -1
  74. data/grammars/source.mlir.json +37 -317
  75. data/grammars/source.modula-3.json +10 -0
  76. data/grammars/source.msl.json +755 -0
  77. data/grammars/source.nasl.json +155 -0
  78. data/grammars/source.neon.json +381 -0
  79. data/grammars/source.nextflow.json +2 -2
  80. data/grammars/source.objc.platform.json +493 -35
  81. data/grammars/source.odin-ehr.json +806 -0
  82. data/grammars/source.odin.json +402 -0
  83. data/grammars/source.openbsd-pkg.contents.json +128 -0
  84. data/grammars/source.opts.json +12 -2
  85. data/grammars/source.perl6fe.json +1 -1
  86. data/grammars/source.postscript.json +358 -103
  87. data/grammars/source.prisma.json +435 -0
  88. data/grammars/source.purescript.json +29 -2
  89. data/grammars/source.python.json +52 -0
  90. data/grammars/source.q.json +150 -63
  91. data/grammars/source.qasm.json +66 -0
  92. data/grammars/source.ql.json +1408 -0
  93. data/grammars/source.r.json +4 -4
  94. data/grammars/source.reason.json +28 -16
  95. data/grammars/source.rego.json +124 -0
  96. data/grammars/source.sass.json +158 -3
  97. data/grammars/source.scala.json +53 -18
  98. data/grammars/source.sieve.json +383 -0
  99. data/grammars/source.solidity.json +1 -1
  100. data/grammars/source.ssh-config.json +1 -14
  101. data/grammars/source.swift.json +162 -2
  102. data/grammars/source.sy.json +2088 -183
  103. data/grammars/source.tags.json +266 -0
  104. data/grammars/source.terraform.json +576 -132
  105. data/grammars/source.tnsaudit.json +256 -0
  106. data/grammars/source.ts.json +246 -70
  107. data/grammars/source.tsx.json +247 -71
  108. data/grammars/source.v.json +587 -761
  109. data/grammars/source.vim-snippet.json +645 -0
  110. data/grammars/source.viml.json +6 -6
  111. data/grammars/source.webassembly.json +10 -0
  112. data/grammars/source.webidl.json +8 -0
  113. data/grammars/source.wgetrc.json +1640 -0
  114. data/grammars/source.wsd.json +781 -0
  115. data/grammars/source.x86.json +7 -3
  116. data/grammars/source.zig.json +231 -360
  117. data/grammars/text.dfy.dafny.json +188 -0
  118. data/grammars/text.html.php.blade.json +535 -528
  119. data/grammars/text.html.riot.json +788 -0
  120. data/grammars/text.muse.json +1471 -0
  121. data/grammars/text.openbsd-pkg.desc.json +78 -0
  122. data/grammars/text.roff.json +49 -1
  123. data/grammars/text.sfd.json +21 -0
  124. data/grammars/text.tex.latex.haskell.json +58 -11
  125. data/grammars/text.vim-help.json +383 -0
  126. data/grammars/text.xml.svg.json +8 -2
  127. data/grammars/version +1 -1
  128. data/lib/linguist/VERSION +1 -1
  129. data/lib/linguist/blob_helper.rb +4 -2
  130. data/lib/linguist/file_blob.rb +1 -1
  131. data/lib/linguist/generated.rb +96 -28
  132. data/lib/linguist/heuristics.yml +64 -4
  133. data/lib/linguist/languages.json +1 -1
  134. data/lib/linguist/languages.yml +408 -49
  135. data/lib/linguist/lazy_blob.rb +10 -10
  136. data/lib/linguist/linguist.bundle +0 -0
  137. data/lib/linguist/samples.json +48129 -31562
  138. data/lib/linguist/shebang.rb +5 -3
  139. data/lib/linguist/vendor.yml +71 -60
  140. metadata +48 -17
  141. data/grammars/source.LS.json +0 -85
  142. data/grammars/source.MCPOST.json +0 -54
  143. data/grammars/source.MOD.json +0 -55
  144. data/grammars/source.apt.json +0 -18
  145. data/grammars/source.jlex.json +0 -322
  146. data/grammars/source.yaml-ext.json +0 -324
  147. data/grammars/text.html.abl.json +0 -70
@@ -0,0 +1,402 @@
1
+ {
2
+ "name": "Odin",
3
+ "scopeName": "source.odin",
4
+ "patterns": [
5
+ {
6
+ "include": "#comments"
7
+ },
8
+ {
9
+ "include": "#types"
10
+ },
11
+ {
12
+ "include": "#keywords"
13
+ },
14
+ {
15
+ "include": "#functions_and_declarations"
16
+ },
17
+ {
18
+ "include": "#strings"
19
+ },
20
+ {
21
+ "include": "#string_escaped_char"
22
+ }
23
+ ],
24
+ "repository": {
25
+ "block_comment": {
26
+ "name": "comment.block.odin",
27
+ "begin": "/\\*",
28
+ "end": "\\*/",
29
+ "captures": {
30
+ "0": {
31
+ "name": "punctuation.definition.comment.odin"
32
+ }
33
+ }
34
+ },
35
+ "comments": {
36
+ "patterns": [
37
+ {
38
+ "include": "#block_comment"
39
+ },
40
+ {
41
+ "name": "invalid.illegal.stray-comment-end.odin",
42
+ "match": "\\*/.*\\n"
43
+ },
44
+ {
45
+ "include": "#line_comment"
46
+ }
47
+ ]
48
+ },
49
+ "functions_and_declarations": {
50
+ "patterns": [
51
+ {
52
+ "match": "\\b(\\b[[:alpha:]_]+[[:alnum:]_]*\\b)\\s*[:]\\s*[:]\\s*(proc)",
53
+ "captures": {
54
+ "1": {
55
+ "name": "meta.function.odin entity.name.function.odin"
56
+ },
57
+ "2": {
58
+ "name": "storage.type.odin"
59
+ }
60
+ }
61
+ },
62
+ {
63
+ "match": "\\b(\\b[[:alpha:]_]+[[:alnum:]_]*\\b)\\s*[:]\\s*[:]\\s*(inline|no_inline)\\s+(proc)",
64
+ "captures": {
65
+ "1": {
66
+ "name": "meta.function.odin entity.name.function.odin"
67
+ },
68
+ "2": {
69
+ "name": "keyword.control.odin"
70
+ },
71
+ "3": {
72
+ "name": "storage.type.odin"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "match": "\\b(size_of|align_of|offset_of|type_of)\\b\\s*\\(",
78
+ "captures": {
79
+ "1": {
80
+ "name": "keyword.function.odin"
81
+ }
82
+ }
83
+ },
84
+ {
85
+ "match": "\\b(type_info_of|typeid_of)\\b\\s*\\(",
86
+ "captures": {
87
+ "1": {
88
+ "name": "keyword.function.odin"
89
+ }
90
+ }
91
+ },
92
+ {
93
+ "match": "(proc|macro)\\s*[\\(]",
94
+ "captures": {
95
+ "1": {
96
+ "name": "storage.type.odin"
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "match": "(\\b[[:alpha:]_]+[[:alnum:]_]*\\b)\\s*[!]?\\s*[\\(]",
102
+ "captures": {
103
+ "1": {
104
+ "name": "support.function.odin"
105
+ }
106
+ }
107
+ },
108
+ {
109
+ "match": "\\b(\\b[[:alpha:]_]+[[:alnum:]_]*\\b)\\s*[:]\\s*[:]\\s*(struct|union|enum|bit_field|bit_set)",
110
+ "captures": {
111
+ "1": {
112
+ "name": "meta.type.odin entity.name.type.odin"
113
+ },
114
+ "2": {
115
+ "name": "storage.type.odin"
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "match": "\\b(\\b[[:alpha:]_]+[[:alnum:]_]*\\b)\\s*[:]\\s*[:]\\s*([#]\\s*type)",
121
+ "captures": {
122
+ "1": {
123
+ "name": "meta.type.odin entity.name.type.odin"
124
+ },
125
+ "2": {
126
+ "name": "keyword.tag.odin"
127
+ }
128
+ }
129
+ },
130
+ {
131
+ "match": "\\b(\\b[[:alpha:]_]+[[:alnum:]_]*\\b)\\s*[:]\\s*[:]\\s*",
132
+ "captures": {
133
+ "1": {
134
+ "name": "meta.constant.odin entity.name.type.odin"
135
+ }
136
+ }
137
+ }
138
+ ]
139
+ },
140
+ "keywords": {
141
+ "patterns": [
142
+ {
143
+ "name": "keyword.control.odin",
144
+ "match": "\\b(import|foreign|package)\\b"
145
+ },
146
+ {
147
+ "name": "keyword.control.odin",
148
+ "match": "\\b(if|else|when|for|in|notin|not_in|defer|switch|return|const|do|where)\\b"
149
+ },
150
+ {
151
+ "name": "keyword.control.odin",
152
+ "match": "\\b(fallthrough|break|continue|case|dynamic)\\b"
153
+ },
154
+ {
155
+ "name": "keyword.control.odin",
156
+ "match": "\\b(using|inline|no_inline)\\b"
157
+ },
158
+ {
159
+ "name": "keyword.control.odin",
160
+ "match": "\\b(asm|yield|await)\\b"
161
+ },
162
+ {
163
+ "name": "keyword.operator.odin",
164
+ "match": "\\b(distinct|opaque)\\b"
165
+ },
166
+ {
167
+ "name": "keyword.operator.odin",
168
+ "match": "\\b(context)\\b"
169
+ },
170
+ {
171
+ "name": "constant.language.odin",
172
+ "match": "\\b(nil|true|false)\\b"
173
+ },
174
+ {
175
+ "name": "constant.numeric.odin",
176
+ "match": "\\b(\\d(\\d|_)*(.\\d(\\d|_)*)?)((e|E)(\\+|-)?\\d+)?[ijk]?\\b"
177
+ },
178
+ {
179
+ "name": "constant.numeric.odin",
180
+ "match": "\\b((0b(0|1|_)+)|(0o(\\d|_)+)|(0d(\\d|_)+)|(0[xXh]([[:xdigit:]]|_)+))[ijk]?\\b"
181
+ },
182
+ {
183
+ "name": "constant.numeric.odin",
184
+ "match": "---"
185
+ },
186
+ {
187
+ "name": "storage.type.odin",
188
+ "match": "\\b(macro|struct|enum|union|map|bit_field|bit_set)\\b"
189
+ },
190
+ {
191
+ "name": "keyword.function.odin",
192
+ "match": "\\b(cast|transmute|auto_cast)\\b"
193
+ },
194
+ {
195
+ "name": "keyword.tag.odin",
196
+ "match": "([#]\\s*\\b([[:alpha:]_]+[[:alnum:]_]*)\\b)"
197
+ },
198
+ {
199
+ "name": "keyword.tag.odin",
200
+ "match": "(\\x40\\s*\\b([[:alpha:]_]+[[:alnum:]_]*)\\b)"
201
+ },
202
+ {
203
+ "name": "keyword.tag.odin",
204
+ "match": "(\\x40\\s*[(]\\s*\\b([[:alpha:]_]+[[:alnum:]_]*)\\b)\\s*[)]"
205
+ },
206
+ {
207
+ "name": "keyword.operator.odin",
208
+ "match": "@"
209
+ }
210
+ ]
211
+ },
212
+ "line_comment": {
213
+ "begin": "(^[ \\t]+)?((?=//)|(?=#!))",
214
+ "end": "(?!\\G)",
215
+ "patterns": [
216
+ {
217
+ "name": "comment.line.double-slash.odin",
218
+ "begin": "//",
219
+ "end": "\\n",
220
+ "patterns": [
221
+ {
222
+ "name": "punctuation.separator.continuation.odin",
223
+ "match": "(?\u003e\\\\\\s*\\n)"
224
+ }
225
+ ],
226
+ "beginCaptures": {
227
+ "0": {
228
+ "name": "punctuation.definition.comment.odin"
229
+ }
230
+ }
231
+ },
232
+ {
233
+ "name": "comment.line.double-slash.odin",
234
+ "begin": "#!",
235
+ "end": "\\n",
236
+ "patterns": [
237
+ {
238
+ "name": "punctuation.separator.continuation.odin",
239
+ "match": "(?\u003e\\\\\\s*\\n)"
240
+ }
241
+ ],
242
+ "beginCaptures": {
243
+ "0": {
244
+ "name": "punctuation.definition.comment.odin"
245
+ }
246
+ }
247
+ }
248
+ ],
249
+ "beginCaptures": {
250
+ "1": {
251
+ "name": "punctuation.whitespace.comment.leading.odin"
252
+ }
253
+ }
254
+ },
255
+ "string_escaped_char": {
256
+ "patterns": [
257
+ {
258
+ "name": "constant.character.escape.odin",
259
+ "match": "\\\\(\\\\|[abefnrutv'\"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{3})"
260
+ },
261
+ {
262
+ "name": "invalid.illegal.unknown-escape.odin",
263
+ "match": "\\\\."
264
+ }
265
+ ]
266
+ },
267
+ "strings": {
268
+ "patterns": [
269
+ {
270
+ "name": "string.quoted.double.odin",
271
+ "begin": "\"",
272
+ "end": "\"",
273
+ "patterns": [
274
+ {
275
+ "include": "#string_placeholder"
276
+ },
277
+ {
278
+ "include": "#string_escaped_char"
279
+ }
280
+ ],
281
+ "beginCaptures": {
282
+ "0": {
283
+ "name": "punctuation.definition.string.begin.odin"
284
+ }
285
+ },
286
+ "endCaptures": {
287
+ "0": {
288
+ "name": "punctuation.definition.string.end.odin"
289
+ }
290
+ }
291
+ },
292
+ {
293
+ "name": "string.quoted.single.odin",
294
+ "begin": "'",
295
+ "end": "'",
296
+ "patterns": [
297
+ {
298
+ "include": "#string_escaped_char"
299
+ }
300
+ ],
301
+ "beginCaptures": {
302
+ "0": {
303
+ "name": "punctuation.definition.string.begin.odin"
304
+ }
305
+ },
306
+ "endCaptures": {
307
+ "0": {
308
+ "name": "punctuation.definition.string.end.odin"
309
+ }
310
+ }
311
+ },
312
+ {
313
+ "name": "string.quoted.raw.odin",
314
+ "begin": "`",
315
+ "end": "`",
316
+ "beginCaptures": {
317
+ "0": {
318
+ "name": "punctuation.definition.string.begin.odin"
319
+ }
320
+ },
321
+ "endCaptures": {
322
+ "0": {
323
+ "name": "punctuation.definition.string.end.odin"
324
+ }
325
+ }
326
+ }
327
+ ]
328
+ },
329
+ "types": {
330
+ "patterns": [
331
+ {
332
+ "name": "storage.type.odin",
333
+ "match": "\\b(struct|enum|union|bit_field|bit_set)\\b(?:(\\{)(\\}))?"
334
+ },
335
+ {
336
+ "name": "storage.type.odin",
337
+ "match": "\\b(proc)\\b"
338
+ },
339
+ {
340
+ "name": "storage.type.odin",
341
+ "match": "\\$\\s*(\\b([[:alpha:]_]+[[:alnum:]_]*)\\b)"
342
+ },
343
+ {
344
+ "name": "storage.type.odin",
345
+ "match": "\\b(i8|i16|i32|i64|i128|int)\\b"
346
+ },
347
+ {
348
+ "name": "storage.type.odin",
349
+ "match": "\\b(u8|u16|u32|u64|u128|uint|uintptr)\\b"
350
+ },
351
+ {
352
+ "name": "storage.type.odin",
353
+ "match": "\\b(f16|f32|f64|f128)\\b"
354
+ },
355
+ {
356
+ "name": "storage.type.odin",
357
+ "match": "\\b(f16le|f32le|f64le|f128le)\\b"
358
+ },
359
+ {
360
+ "name": "storage.type.odin",
361
+ "match": "\\b(f16be|f32be|f64be|f128be)\\b"
362
+ },
363
+ {
364
+ "name": "storage.type.odin",
365
+ "match": "\\b(complex32|complex64|complex128)\\b"
366
+ },
367
+ {
368
+ "name": "storage.type.odin",
369
+ "match": "\\b(quaternion64|quaternion128|quaternion256)\\b"
370
+ },
371
+ {
372
+ "name": "storage.type.odin",
373
+ "match": "\\b(bool|b8|b16|b32|b64)\\b"
374
+ },
375
+ {
376
+ "name": "storage.type.odin",
377
+ "match": "\\b(string|cstring|rune)\\b"
378
+ },
379
+ {
380
+ "name": "storage.type.odin",
381
+ "match": "\\b(rawptr)\\b"
382
+ },
383
+ {
384
+ "name": "storage.type.odin",
385
+ "match": "\\b(any|typeid)\\b"
386
+ },
387
+ {
388
+ "name": "storage.type.odin",
389
+ "match": "\\b(byte)\\b"
390
+ },
391
+ {
392
+ "name": "storage.type.odin",
393
+ "match": "\\b(u16le|u32le|u64le|u128le|i16le|i32le|i64le|i128le)\\b"
394
+ },
395
+ {
396
+ "name": "storage.type.odin",
397
+ "match": "\\b(i16be|i32be|i64be|i128be|u16be|u32be|u64be|u128be)\\b"
398
+ }
399
+ ]
400
+ }
401
+ }
402
+ }
@@ -0,0 +1,128 @@
1
+ {
2
+ "name": "OpenBSD Packing List",
3
+ "scopeName": "source.openbsd-pkg.contents",
4
+ "patterns": [
5
+ {
6
+ "include": "#main"
7
+ }
8
+ ],
9
+ "repository": {
10
+ "annotation": {
11
+ "name": "meta.annotation.${3:/downcase}-field.openbsd-pkg.contents",
12
+ "begin": "^((@)([-\\w]+))\\b",
13
+ "end": "$",
14
+ "patterns": [
15
+ {
16
+ "contentName": "comment.line.at-sign.openbsd-pkg.contents",
17
+ "begin": "(?\u003c=@comment)\\G\\s*",
18
+ "end": "(?=\\s*$)"
19
+ },
20
+ {
21
+ "contentName": "entity.name.package.contents",
22
+ "begin": "(?\u003c=@name)\\G\\s*",
23
+ "end": "(?=\\s*$)"
24
+ },
25
+ {
26
+ "begin": "(?\u003c=@depend)\\G\\s*",
27
+ "end": "(?=\\s*$)",
28
+ "patterns": [
29
+ {
30
+ "include": "#dependency"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "begin": "(?\u003c=@url)\\G\\s*",
36
+ "end": "(?=\\s*$)",
37
+ "patterns": [
38
+ {
39
+ "include": "etc#url"
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "begin": "(?\u003c=@ts|size)\\G\\s*",
45
+ "end": "(?=\\s*$)",
46
+ "patterns": [
47
+ {
48
+ "include": "etc#num"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "contentName": "constant.numeric.base64.sha256.openbsd-pkg.contents",
54
+ "begin": "(?\u003c=@sha)\\G\\s*",
55
+ "end": "(?=\\s*$)"
56
+ },
57
+ {
58
+ "contentName": "constant.other.annotation.openbsd-pkg.contents",
59
+ "begin": "\\G\\s*",
60
+ "end": "(?=\\s*$)"
61
+ }
62
+ ],
63
+ "beginCaptures": {
64
+ "1": {
65
+ "name": "keyword.operator.annotation.openbsd-pkg.contents"
66
+ },
67
+ "2": {
68
+ "name": "punctuation.definition.annotation.openbsd-pkg.contents"
69
+ }
70
+ }
71
+ },
72
+ "dependency": {
73
+ "patterns": [
74
+ {
75
+ "name": "entity.name.package.path.openbsd-pkg.contents",
76
+ "match": "\\G[^\\s:]+(?=:|$)"
77
+ },
78
+ {
79
+ "name": "meta.package-spec.openbsd-pkg.contents",
80
+ "match": "(?\u003c=:)([-_\\w]+)(-)((?:[\\dPp]|[^\\s:\\w])+)(?=:|$)",
81
+ "captures": {
82
+ "1": {
83
+ "name": "entity.other.package.spec.openbsd-pkg.contents"
84
+ },
85
+ "2": {
86
+ "patterns": [
87
+ {
88
+ "include": "etc#dash"
89
+ }
90
+ ]
91
+ },
92
+ "3": {
93
+ "patterns": [
94
+ {
95
+ "include": "etc#op"
96
+ },
97
+ {
98
+ "include": "etc#comma"
99
+ },
100
+ {
101
+ "include": "etc#version"
102
+ }
103
+ ]
104
+ }
105
+ }
106
+ },
107
+ {
108
+ "include": "etc#colon"
109
+ }
110
+ ]
111
+ },
112
+ "file": {
113
+ "name": "string.unquoted.filename.openbsd-pkg.contents",
114
+ "begin": "^(?!@)",
115
+ "end": "$"
116
+ },
117
+ "main": {
118
+ "patterns": [
119
+ {
120
+ "include": "#annotation"
121
+ },
122
+ {
123
+ "include": "#file"
124
+ }
125
+ ]
126
+ }
127
+ }
128
+ }