@codingame/monaco-editor-wrapper 3.4.1 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/{HTML (Eex).js → HTML (Eex)2.js} +0 -0
  2. package/dist/JavaScript.tmLanguage.js +13 -7
  3. package/dist/JavaScriptReact.tmLanguage.js +13 -7
  4. package/dist/Scala.tmLanguage.js +1 -1
  5. package/dist/TypeScript.tmLanguage.js +13 -7
  6. package/dist/TypeScriptReact.tmLanguage.js +13 -7
  7. package/dist/atd.js +90 -94
  8. package/dist/atd2.js +94 -90
  9. package/dist/c.js +8 -0
  10. package/dist/cpp.js +8 -0
  11. package/dist/cpp.tmLanguage.js +150 -112
  12. package/dist/cpptools.js +133 -40
  13. package/dist/css.worker.js +1 -1
  14. package/dist/cuda-cpp.js +8 -0
  15. package/dist/d.js +3157 -84
  16. package/dist/d2.js +84 -3157
  17. package/dist/d3.js +4 -2
  18. package/dist/dart.js +510 -83
  19. package/dist/dart2.js +83 -510
  20. package/dist/dart3.js +0 -6
  21. package/dist/diet.js +740 -82
  22. package/dist/diet2.js +82 -740
  23. package/dist/django-html.js +155 -0
  24. package/dist/django-html.tmLanguage.js +715 -0
  25. package/dist/django-txt.js +155 -0
  26. package/dist/django-txt.tmLanguage.js +269 -0
  27. package/dist/dml.js +155 -76
  28. package/dist/dml2.js +76 -155
  29. package/dist/dune-project.js +469 -53
  30. package/dist/dune-project2.js +53 -469
  31. package/dist/dune-workspace.js +287 -54
  32. package/dist/dune-workspace2.js +54 -287
  33. package/dist/dune.js +2948 -51
  34. package/dist/dune2.js +51 -2948
  35. package/dist/elixir.js +2335 -63
  36. package/dist/elixir2.js +63 -2335
  37. package/dist/features/cssContribution.js +1 -4
  38. package/dist/features/extensionConfigurations.js +25 -122
  39. package/dist/features/htmlContribution.js +4 -18
  40. package/dist/features/jsonContribution.js +1 -8
  41. package/dist/features/typescriptContribution.js +4 -8
  42. package/dist/{html (eex)2.js → html (eex).js} +0 -0
  43. package/dist/html-html.code-snippets.js +20 -0
  44. package/dist/html.worker.js +1 -1
  45. package/dist/index.js +2178 -1355
  46. package/dist/index2.js +1362 -2186
  47. package/dist/java2.js +32 -9
  48. package/dist/json.worker.js +1 -1
  49. package/dist/lua2.js +35 -0
  50. package/dist/main.js +322 -1420
  51. package/dist/ocaml.interface.js +273 -95
  52. package/dist/ocaml.interface2.js +95 -273
  53. package/dist/ocaml.js +884 -95
  54. package/dist/ocaml2.js +95 -884
  55. package/dist/omnisharp.js +6 -0
  56. package/dist/php-php.code-snippets.js +2 -0
  57. package/dist/r.js +657 -81
  58. package/dist/r2.js +81 -657
  59. package/dist/scalameta.js +5 -4
  60. package/dist/sdl.js +150 -78
  61. package/dist/sdl2.js +78 -150
  62. package/dist/semanticdb.js +62 -0
  63. package/dist/solidity.js +1172 -56
  64. package/dist/solidity2.js +56 -1172
  65. package/dist/solidity3.js +6 -5
  66. package/dist/svelte.svelte-vscode-javascript.js +45 -0
  67. package/dist/svelte.svelte-vscode-typescript.js +43 -0
  68. package/dist/svelte.svelte-vscode.js +8 -1
  69. package/dist/svelte.tmLanguage.src.yaml.js +3 -3
  70. package/dist/theme-defaults~light_vs.js +3 -2
  71. package/dist/ts.worker.js +1 -1
  72. package/dist/typescript-basics-typescript.code-snippets.js +1 -0
  73. package/dist/vim.js +8 -8
  74. package/dist/vscode-django-filters.js +340 -0
  75. package/dist/vscode-django.js +37 -0
  76. package/dist/vscode-python.js +4 -8
  77. package/dist/vue-sugarss.js +390 -54
  78. package/dist/vue-sugarss2.js +54 -390
  79. package/dist/worker.js +1 -3
  80. package/package.json +29 -26
  81. package/stats.html +44 -34
package/dist/diet2.js CHANGED
@@ -1,758 +1,100 @@
1
- var fileTypes = [
2
- "dt"
1
+ var comments = {
2
+ lineComment: "//"
3
+ };
4
+ var brackets = [
5
+ [
6
+ "(",
7
+ ")"
8
+ ],
9
+ [
10
+ "{",
11
+ "}"
12
+ ],
13
+ [
14
+ "[",
15
+ "]"
16
+ ]
3
17
  ];
4
- var name = "Diet";
5
- var scopeName = "source.diet";
6
- var patterns = [
7
- {
8
- comment: "Doctype declaration.",
9
- match: "^(!!!|doctype)(\\s*[a-zA-Z0-9-_]+)?",
10
- name: "entity.name.tag.sgml.doctype.diet"
11
- },
12
- {
13
- begin: "^(\\s*)//-",
14
- comment: "Unbuffered (diet-only) comments.",
15
- end: "^(?!(\\1\\s)|\\s*$)",
16
- name: "comment.unbuffered.block.diet"
17
- },
18
- {
19
- begin: "^(\\s*)//",
20
- comment: "Buffered (html) comments.",
21
- end: "^(?!(\\1\\s)|\\s*$)",
22
- name: "string.comment.buffered.block.diet",
23
- patterns: [
24
- {
25
- captures: {
26
- "1": {
27
- name: "invalid.illegal.comment.comment.block.diet"
28
- }
29
- },
30
- comment: "Buffered comments inside buffered comments will generate invalid html.",
31
- match: "^\\s*(//)(?!-)",
32
- name: "string.comment.buffered.block.diet"
33
- }
34
- ]
35
- },
18
+ var autoClosingPairs = [
19
+ [
20
+ "{",
21
+ "}"
22
+ ],
23
+ [
24
+ "[",
25
+ "]"
26
+ ],
27
+ [
28
+ "(",
29
+ ")"
30
+ ],
36
31
  {
37
- begin: "^(\\s*)-$",
38
- comment: "Unbuffered code block.",
39
- end: "^(?!(\\1\\s)|\\s*$)",
40
- name: "source.d",
41
- patterns: [
42
- {
43
- include: "source.d"
44
- }
32
+ open: "<",
33
+ close: ">",
34
+ notIn: [
35
+ "embedded",
36
+ "string"
45
37
  ]
46
38
  },
47
39
  {
48
- begin: "^(\\s*)(script)(?=[.#(\\s])((?![^\\n]*type=)|(?=[^\\n]*(text|application)/javascript))",
49
- beginCaptures: {
50
- "2": {
51
- name: "entity.name.tag.script.diet"
52
- }
53
- },
54
- comment: "Script tag with JavaScript code.",
55
- end: "^(?!(\\1\\s)|\\s*$)",
56
- name: "meta.tag.other",
57
- patterns: [
58
- {
59
- begin: "\\G(?=\\()",
60
- end: "$",
61
- name: "stuff.tag.script.diet",
62
- patterns: [
63
- {
64
- include: "#tag_attributes"
65
- }
66
- ]
67
- },
68
- {
69
- begin: "\\G(?=[.#])",
70
- end: "$",
71
- name: "stuff.tag.script.diet",
72
- patterns: [
73
- {
74
- include: "#complete_tag"
75
- }
76
- ]
77
- },
78
- {
79
- include: "source.d"
80
- }
40
+ open: "`",
41
+ close: "`",
42
+ notIn: [
43
+ "string"
81
44
  ]
82
45
  },
83
46
  {
84
- begin: "^(\\s*)(style)((\\.$)|(?=[.#(].*\\.$))",
85
- beginCaptures: {
86
- "2": {
87
- name: "entity.name.tag.script.diet"
88
- }
89
- },
90
- comment: "Style tag with CSS code.",
91
- end: "^(?!(\\1\\s)|\\s*$)",
92
- name: "meta.tag.other",
93
- patterns: [
94
- {
95
- begin: "\\G(?=\\()",
96
- end: "$",
97
- name: "stuff.tag.style.diet",
98
- patterns: [
99
- {
100
- include: "#tag_attributes"
101
- }
102
- ]
103
- },
104
- {
105
- begin: "\\G(?=[.#])",
106
- end: "$",
107
- name: "stuff.tag.style.diet",
108
- patterns: [
109
- {
110
- include: "#complete_tag"
111
- }
112
- ]
113
- },
114
- {
115
- include: "source.css"
116
- }
47
+ open: "\"",
48
+ close: "\"",
49
+ notIn: [
50
+ "string"
117
51
  ]
118
52
  },
119
53
  {
120
- begin: "^(\\s*):(sass)(?=\\(|$)",
121
- beginCaptures: {
122
- "2": {
123
- name: "constant.language.name.sass.filter.diet"
124
- }
125
- },
126
- end: "^(?!(\\1\\s)|\\s*$)",
127
- name: "source.sass.filter.diet",
128
- patterns: [
129
- {
130
- include: "#tag_attributes"
131
- },
132
- {
133
- include: "source.sass"
134
- }
135
- ]
136
- },
137
- {
138
- begin: "^(\\s*):(less)(?=\\(|$)",
139
- beginCaptures: {
140
- "2": {
141
- name: "constant.language.name.less.filter.diet"
142
- }
143
- },
144
- end: "^(?!(\\1\\s)|\\s*$)",
145
- name: "source.less.filter.diet",
146
- patterns: [
147
- {
148
- include: "#tag_attributes"
149
- },
150
- {
151
- include: "source.less"
152
- }
153
- ]
154
- },
155
- {
156
- begin: "^(\\s*):(stylus)(?=\\(|$)",
157
- beginCaptures: {
158
- "2": {
159
- name: "constant.language.name.stylus.filter.diet"
160
- }
161
- },
162
- end: "^(?!(\\1\\s)|\\s*$)",
163
- patterns: [
164
- {
165
- include: "#tag_attributes"
166
- },
167
- {
168
- include: "source.stylus"
169
- }
170
- ]
171
- },
172
- {
173
- begin: "^(\\s*):(coffee(-?script)?)(?=\\(|$)",
174
- beginCaptures: {
175
- "2": {
176
- name: "constant.language.name.coffeescript.filter.diet"
177
- }
178
- },
179
- end: "^(?!(\\1\\s)|\\s*$)",
180
- name: "source.coffeescript.filter.diet",
181
- patterns: [
182
- {
183
- include: "#tag_attributes"
184
- },
185
- {
186
- include: "source.coffee"
187
- }
188
- ]
189
- },
190
- {
191
- begin: "^(\\s*)((:(?=.))|(:$))",
192
- beginCaptures: {
193
- "4": {
194
- name: "invalid.illegal.empty.generic.filter.diet"
195
- }
196
- },
197
- comment: "Generic diet filter.",
198
- end: "^(?!(\\1\\s)|\\s*$)",
199
- patterns: [
200
- {
201
- begin: "\\G(?<=:)(?=.)",
202
- end: "$",
203
- name: "name.generic.filter.diet",
204
- patterns: [
205
- {
206
- match: "\\G\\(",
207
- name: "invalid.illegal.name.generic.filter.diet"
208
- },
209
- {
210
- match: "[\\w-]",
211
- name: "constant.language.name.generic.filter.diet"
212
- },
213
- {
214
- include: "#tag_attributes"
215
- },
216
- {
217
- match: "\\W",
218
- name: "invalid.illegal.name.generic.filter.diet"
219
- }
220
- ]
221
- }
222
- ]
223
- },
224
- {
225
- begin: "^\\s*",
226
- comment: "All constructs that generally span a single line starting with any number of white-spaces.",
227
- end: "$",
228
- patterns: [
229
- {
230
- include: "#inline_diet"
231
- },
232
- {
233
- include: "#blocks_and_includes"
234
- },
235
- {
236
- include: "#unbuffered_code"
237
- },
238
- {
239
- include: "#flow_control"
240
- },
241
- {
242
- begin: "\\|",
243
- comment: "Tag pipe text line.",
244
- end: "$",
245
- name: "text.block.pipe.diet",
246
- patterns: [
247
- {
248
- include: "#inline_diet"
249
- },
250
- {
251
- include: "#embedded_html"
252
- },
253
- {
254
- include: "#html_entity"
255
- },
256
- {
257
- include: "#interpolated_value"
258
- },
259
- {
260
- include: "#interpolated_error"
261
- }
262
- ]
263
- },
264
- {
265
- include: "#printed_expression"
266
- },
267
- {
268
- begin: "\\G(?=(#[^\\{\\w-])|[^\\w.#])",
269
- comment: "Line starting with characters incompatible with tag name/id/class is standalone text.",
270
- end: "$",
271
- patterns: [
272
- {
273
- begin: "</?(?=[!#])",
274
- end: ">|$",
275
- patterns: [
276
- {
277
- include: "#inline_diet"
278
- },
279
- {
280
- include: "#interpolated_value"
281
- },
282
- {
283
- include: "#interpolated_error"
284
- }
285
- ]
286
- },
287
- {
288
- include: "#inline_diet"
289
- },
290
- {
291
- include: "#embedded_html"
292
- },
293
- {
294
- include: "#html_entity"
295
- },
296
- {
297
- include: "#interpolated_value"
298
- },
299
- {
300
- include: "#interpolated_error"
301
- }
302
- ]
303
- },
304
- {
305
- include: "#complete_tag"
306
- }
54
+ open: "'",
55
+ close: "'",
56
+ notIn: [
57
+ "string"
307
58
  ]
308
59
  }
309
60
  ];
310
- var repository = {
311
- blocks_and_includes: {
312
- captures: {
313
- "1": {
314
- name: "storage.type.import.include.diet"
315
- },
316
- "4": {
317
- name: "entity.name.type.include.diet"
318
- }
319
- },
320
- comment: "Template blocks and includes.",
321
- match: "(extends|include|block( (append|prepend))?)\\s+(.*)$",
322
- name: "meta.first-class.diet"
323
- },
324
- complete_tag: {
325
- begin: "(?=[\\w.#])|(:\\s*)",
326
- end: "(\\.?$)|(?=:.)",
327
- patterns: [
328
- {
329
- include: "#blocks_and_includes"
330
- },
331
- {
332
- include: "#unbuffered_code"
333
- },
334
- {
335
- include: "#flow_control"
336
- },
337
- {
338
- match: "(?<=:)\\w.*$",
339
- name: "invalid.illegal.name.tag.diet"
340
- },
341
- {
342
- include: "#tag_name"
343
- },
344
- {
345
- include: "#tag_id"
346
- },
347
- {
348
- include: "#tag_classes"
349
- },
350
- {
351
- include: "#tag_attributes"
352
- },
353
- {
354
- captures: {
355
- "2": {
356
- name: "invalid.illegal.end.tag.diet"
357
- },
358
- "4": {
359
- name: "invalid.illegal.end.tag.diet"
360
- }
361
- },
362
- match: "((\\.)\\s+$)|((:)\\s*$)"
363
- },
364
- {
365
- include: "#printed_expression"
366
- },
367
- {
368
- include: "#tag_text"
369
- }
370
- ]
371
- },
372
- embedded_html: {
373
- begin: "(?=<[^>]*>)",
374
- end: "$|(?=>)",
375
- name: "html",
376
- patterns: [
377
- {
378
- include: "text.html.basic"
379
- },
380
- {
381
- include: "#interpolated_value"
382
- },
383
- {
384
- include: "#interpolated_error"
385
- }
386
- ]
387
- },
388
- html_entity: {
389
- patterns: [
390
- {
391
- match: "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
392
- name: "constant.character.entity.html.text.diet"
393
- },
394
- {
395
- match: "[<>&]",
396
- name: "invalid.illegal.html_entity.text.diet"
397
- }
398
- ]
399
- },
400
- inline_diet: {
401
- begin: "(?<!\\\\)(#\\[)",
402
- captures: {
403
- "1": {
404
- name: "entity.name.function.diet"
405
- },
406
- "2": {
407
- name: "entity.name.function.diet"
408
- }
409
- },
410
- end: "(\\])",
411
- name: "inline.diet",
412
- patterns: [
413
- {
414
- include: "#inline_diet"
415
- },
416
- {
417
- begin: "(?<!\\])(?=[\\w.#])|(:\\s*)",
418
- end: "(?=\\]|(:.)|=|\\s)",
419
- name: "tag.inline.diet",
420
- patterns: [
421
- {
422
- include: "#tag_name"
423
- },
424
- {
425
- include: "#tag_id"
426
- },
427
- {
428
- include: "#tag_classes"
429
- },
430
- {
431
- include: "#tag_attributes"
432
- },
433
- {
434
- include: "#inline_diet"
435
- },
436
- {
437
- match: "\\[",
438
- name: "invalid.illegal.tag.diet"
439
- }
440
- ]
441
- },
442
- {
443
- include: "#unbuffered_code"
444
- },
445
- {
446
- include: "#printed_expression"
447
- },
448
- {
449
- match: "\\[",
450
- name: "invalid.illegal.tag.diet"
451
- },
452
- {
453
- include: "#inline_diet_text"
454
- }
455
- ]
456
- },
457
- inline_diet_text: {
458
- begin: null,
459
- end: "(?=\\])",
460
- patterns: [
461
- {
462
- begin: "\\[",
463
- end: "\\]",
464
- patterns: [
465
- {
466
- include: "#inline_diet_text"
467
- }
468
- ]
469
- },
470
- {
471
- include: "#inline_diet"
472
- },
473
- {
474
- include: "#embedded_html"
475
- },
476
- {
477
- include: "#html_entity"
478
- },
479
- {
480
- include: "#interpolated_value"
481
- },
482
- {
483
- include: "#interpolated_error"
484
- }
485
- ]
486
- },
487
- interpolated_error: {
488
- match: "(?<!\\\\)[#!]\\{(?=[^}]*$)",
489
- name: "invalid.illegal.tag.diet"
490
- },
491
- interpolated_value: {
492
- begin: "(?<!\\\\)[#!]\\{(?=.*?\\})",
493
- end: "\\}",
494
- name: "string.interpolated.diet",
495
- patterns: [
496
- {
497
- match: "{",
498
- name: "invalid.illegal.tag.diet"
499
- },
500
- {
501
- include: "source.d"
502
- }
503
- ]
504
- },
505
- d_braces: {
506
- begin: "\\{",
507
- end: "\\}",
508
- patterns: [
509
- {
510
- include: "#d_braces"
511
- },
512
- {
513
- include: "source.d"
514
- }
515
- ]
516
- },
517
- d_brackets: {
518
- begin: "\\[",
519
- end: "\\]",
520
- patterns: [
521
- {
522
- include: "#d_brackets"
523
- },
524
- {
525
- include: "source.d"
526
- }
527
- ]
528
- },
529
- d_parens: {
530
- begin: "\\(",
531
- end: "\\)",
532
- patterns: [
533
- {
534
- include: "#d_parens"
535
- },
536
- {
537
- include: "source.d"
538
- }
539
- ]
540
- },
541
- printed_expression: {
542
- begin: "(!?\\=)\\s*",
543
- captures: {
544
- "1": {
545
- name: "constant"
546
- }
547
- },
548
- end: "(?=\\])|$",
549
- name: "source.d",
550
- patterns: [
551
- {
552
- include: "#d_brackets"
553
- },
554
- {
555
- include: "source.d"
556
- }
557
- ]
558
- },
559
- string: {
560
- begin: "(['\"])",
561
- end: "(?<!\\\\)\\1",
562
- name: "string.quoted.diet",
563
- patterns: [
564
- {
565
- match: "\\\\((x[0-9a-fA-F]{2})|(u[0-9]{4})|.)",
566
- name: "constant.character.quoted.diet"
567
- },
568
- {
569
- include: "#interpolated_value"
570
- },
571
- {
572
- include: "#interpolated_error"
573
- }
574
- ]
575
- },
576
- tag_attribute_name: {
577
- captures: {
578
- "1": {
579
- name: "entity.other.attribute-name.tag.diet"
580
- }
581
- },
582
- match: "([^\\s(),=/!]+)\\s*"
583
- },
584
- tag_attribute_name_paren: {
585
- begin: "\\(\\s*",
586
- end: "\\)",
587
- name: "entity.other.attribute-name.tag.diet",
588
- patterns: [
589
- {
590
- include: "#tag_attribute_name_paren"
591
- },
592
- {
593
- include: "#tag_attribute_name"
594
- }
595
- ]
596
- },
597
- tag_attributes: {
598
- begin: "(\\(\\s*)",
599
- captures: {
600
- "1": {
601
- name: "constant.name.attribute.tag.diet"
602
- }
603
- },
604
- end: "(\\))",
605
- name: "meta.tag.other",
606
- patterns: [
607
- {
608
- include: "#tag_attribute_name_paren"
609
- },
610
- {
611
- include: "#tag_attribute_name"
612
- },
613
- {
614
- match: "!(?!=)",
615
- name: "invalid.illegal.tag.diet"
616
- },
617
- {
618
- begin: "=\\s*",
619
- end: "$|(?=,|(?:\\s+[^!%&*-+~|<>:?/])|\\))",
620
- name: "attribute_value",
621
- patterns: [
622
- {
623
- include: "#string"
624
- },
625
- {
626
- include: "#d_parens"
627
- },
628
- {
629
- include: "#d_brackets"
630
- },
631
- {
632
- include: "#d_braces"
633
- },
634
- {
635
- include: "source.d"
636
- }
637
- ]
638
- },
639
- {
640
- begin: "(?<=[%&*-+~|<>:?/])\\s+",
641
- end: "$|(?=,|(?:\\s+[^!%&*-+~|<>:?/])|\\))",
642
- name: "attribute_value2",
643
- patterns: [
644
- {
645
- include: "#string"
646
- },
647
- {
648
- include: "#d_parens"
649
- },
650
- {
651
- include: "#d_brackets"
652
- },
653
- {
654
- include: "#d_braces"
655
- },
656
- {
657
- include: "source.d"
658
- }
659
- ]
660
- }
661
- ]
662
- },
663
- tag_classes: {
664
- captures: {
665
- "1": {
666
- name: "invalid.illegal.tag.diet"
667
- }
668
- },
669
- match: "\\.([^\\w-])?[\\w-]*",
670
- name: "constant.other.class.diet"
671
- },
672
- tag_id: {
673
- match: "#[\\w-]+",
674
- name: "constant.other.id.diet"
675
- },
676
- tag_name: {
677
- begin: "([#!]\\{(?=.*?\\}))|(\\w(([\\w:-]+[\\w-])|([\\w-]*)))",
678
- end: "(\\G(?<!\\5[^\\w-]))|\\}|$",
679
- name: "meta.tag.other entity.name.tag.diet",
680
- patterns: [
681
- {
682
- begin: "\\G(?<=\\{)",
683
- end: "(?=\\})",
684
- name: "meta.tag.other entity.name.tag.diet",
685
- patterns: [
686
- {
687
- match: "{",
688
- name: "invalid.illegal.tag.diet"
689
- },
690
- {
691
- include: "source.d"
692
- }
693
- ]
694
- }
695
- ]
696
- },
697
- tag_text: {
698
- begin: "(?=.)",
699
- end: "$",
700
- patterns: [
701
- {
702
- include: "#inline_diet"
703
- },
704
- {
705
- include: "#embedded_html"
706
- },
707
- {
708
- include: "#html_entity"
709
- },
710
- {
711
- include: "#interpolated_value"
712
- },
713
- {
714
- include: "#interpolated_error"
715
- }
716
- ]
717
- },
718
- unbuffered_code: {
719
- begin: "(-|(([a-zA-Z0-9_]+)\\s+=))",
720
- beginCaptures: {
721
- "3": {
722
- name: "variable.parameter.javascript.embedded.diet"
723
- }
724
- },
725
- comment: "name = function() {}",
726
- end: "(?=\\])|$",
727
- name: "source.d",
728
- patterns: [
729
- {
730
- include: "#d_brackets"
731
- },
732
- {
733
- include: "source.d"
734
- }
735
- ]
736
- }
737
- };
738
- var uuid = "eee6ba25-6ac2-4f7e-9c70-cddf2bd3448b";
739
- var version = "https://github.com/davidrios/jade-tmbundle/commit/7c1304aa5a0d916a93fd296d3dd994219ecdc90f";
740
- var comment = "Original jade syntax modified for diet features";
741
- var information_for_contributors = [
742
- "This file has been converted from https://github.com/Pure-D/code-d/blob/master/",
743
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
744
- "Once accepted there, we are happy to receive an update request."
61
+ var surroundingPairs = [
62
+ [
63
+ "{",
64
+ "}"
65
+ ],
66
+ [
67
+ "[",
68
+ "]"
69
+ ],
70
+ [
71
+ "(",
72
+ ")"
73
+ ],
74
+ [
75
+ "'",
76
+ "'"
77
+ ],
78
+ [
79
+ "\"",
80
+ "\""
81
+ ],
82
+ [
83
+ "`",
84
+ "`"
85
+ ]
745
86
  ];
87
+ var folding = {
88
+ offSide: true
89
+ };
90
+ var wordPattern = "[^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+";
746
91
  var diet = {
747
- fileTypes: fileTypes,
748
- name: name,
749
- scopeName: scopeName,
750
- patterns: patterns,
751
- repository: repository,
752
- uuid: uuid,
753
- version: version,
754
- comment: comment,
755
- information_for_contributors: information_for_contributors
92
+ comments: comments,
93
+ brackets: brackets,
94
+ autoClosingPairs: autoClosingPairs,
95
+ surroundingPairs: surroundingPairs,
96
+ folding: folding,
97
+ wordPattern: wordPattern
756
98
  };
757
99
 
758
- export { comment, diet as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName, uuid, version };
100
+ export { autoClosingPairs, brackets, comments, diet as default, folding, surroundingPairs, wordPattern };