@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
@@ -1,60 +1,396 @@
1
- var comments = {
2
- blockComment: [
3
- "/*",
4
- "*/"
5
- ]
6
- };
7
- var brackets = [
8
- [
9
- "[",
10
- "]"
11
- ],
12
- [
13
- "(",
14
- ")"
15
- ]
1
+ var patterns = [
2
+ {
3
+ patterns: [
4
+ {
5
+ include: "#comment-tag"
6
+ }
7
+ ],
8
+ begin: "/\\*",
9
+ name: "comment.block.sugarss",
10
+ end: "\\*/"
11
+ },
12
+ {
13
+ include: "#double-slash"
14
+ },
15
+ {
16
+ include: "#double-quoted"
17
+ },
18
+ {
19
+ include: "#single-quoted"
20
+ },
21
+ {
22
+ include: "#interpolation"
23
+ },
24
+ {
25
+ include: "#placeholder-selector"
26
+ },
27
+ {
28
+ include: "#variable"
29
+ },
30
+ {
31
+ include: "#variable-root-css"
32
+ },
33
+ {
34
+ include: "#numeric"
35
+ },
36
+ {
37
+ include: "#unit"
38
+ },
39
+ {
40
+ include: "#flag"
41
+ },
42
+ {
43
+ include: "#dotdotdot"
44
+ },
45
+ {
46
+ captures: {
47
+ "0": {
48
+ name: "keyword.control.at-rule.css.sugarss"
49
+ }
50
+ },
51
+ begin: "@include",
52
+ name: "support.function.name.sugarss.library",
53
+ end: "(?=\\n|\\(|{)"
54
+ },
55
+ {
56
+ captures: {
57
+ "0": {
58
+ name: "keyword.control.at-rule.css.sugarss"
59
+ }
60
+ },
61
+ patterns: [
62
+ {
63
+ name: "entity.name.function",
64
+ match: "[\\w-]+"
65
+ }
66
+ ],
67
+ begin: "@mixin|@function",
68
+ name: "support.function.name.sugarss.no-completions",
69
+ end: "$\\n?|(?=\\(|{)"
70
+ },
71
+ {
72
+ name: "string.quoted.double.css.sugarss",
73
+ match: "(?<=@import)\\s[\\w/.*-]+"
74
+ },
75
+ {
76
+ begin: "@",
77
+ name: "keyword.control.at-rule.css.sugarss",
78
+ end: "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))"
79
+ },
80
+ {
81
+ patterns: [
82
+ {
83
+ include: "#interpolation"
84
+ },
85
+ {
86
+ include: "#pseudo-class"
87
+ }
88
+ ],
89
+ begin: "#",
90
+ name: "entity.other.attribute-name.id.css.sugarss",
91
+ end: "$\\n?|(?=\\s|,|\\(|\\)|\\.|\\[|{|>)"
92
+ },
93
+ {
94
+ patterns: [
95
+ {
96
+ include: "#interpolation"
97
+ },
98
+ {
99
+ include: "#pseudo-class"
100
+ }
101
+ ],
102
+ begin: "\\.|(?<=&)(-|_)",
103
+ name: "entity.other.attribute-name.class.css.sugarss",
104
+ end: "$\\n?|(?=\\s|,|\\(|\\)|\\[|{|>)"
105
+ },
106
+ {
107
+ patterns: [
108
+ {
109
+ include: "#double-quoted"
110
+ },
111
+ {
112
+ include: "#single-quoted"
113
+ },
114
+ {
115
+ name: "keyword.other.regex.sugarss",
116
+ match: "\\^|\\$|\\*|~"
117
+ }
118
+ ],
119
+ begin: "\\[",
120
+ name: "entity.other.attribute-selector.sugarss",
121
+ end: "\\]"
122
+ },
123
+ {
124
+ name: "entity.other.attribute-name.pseudo-class.css.sugarss",
125
+ match: "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+"
126
+ },
127
+ {
128
+ patterns: [
129
+ {
130
+ include: "#double-slash"
131
+ },
132
+ {
133
+ include: "#double-quoted"
134
+ },
135
+ {
136
+ include: "#single-quoted"
137
+ },
138
+ {
139
+ include: "#interpolation"
140
+ },
141
+ {
142
+ include: "#variable"
143
+ },
144
+ {
145
+ include: "#rgb-value"
146
+ },
147
+ {
148
+ include: "#numeric"
149
+ },
150
+ {
151
+ include: "#unit"
152
+ },
153
+ {
154
+ include: "#flag"
155
+ },
156
+ {
157
+ include: "#function"
158
+ },
159
+ {
160
+ include: "#function-content"
161
+ },
162
+ {
163
+ include: "#function-content-var"
164
+ },
165
+ {
166
+ include: "#operator"
167
+ },
168
+ {
169
+ include: "#parent-selector"
170
+ },
171
+ {
172
+ include: "#property-value"
173
+ }
174
+ ],
175
+ begin: ":",
176
+ name: "meta.property-list.css.sugarss",
177
+ end: "$\\n?|(?=\\s\\(|and\\(|{|}|\\),)"
178
+ },
179
+ {
180
+ include: "#rgb-value"
181
+ },
182
+ {
183
+ include: "#function"
184
+ },
185
+ {
186
+ include: "#function-content"
187
+ },
188
+ {
189
+ patterns: [
190
+ {
191
+ include: "#interpolation"
192
+ },
193
+ {
194
+ include: "#pseudo-class"
195
+ }
196
+ ],
197
+ begin: "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&",
198
+ name: "entity.name.tag.css.sugarss.symbol",
199
+ end: "(?=\\s|,|\\(|\\)|\\.|\\[|{|>|-|_)"
200
+ },
201
+ {
202
+ include: "#operator"
203
+ },
204
+ {
205
+ name: "support.type.property-name.css.sugarss",
206
+ match: "[a-z-]+((?=:|#{))"
207
+ },
208
+ {
209
+ include: "#reserved-words"
210
+ },
211
+ {
212
+ include: "#property-value"
213
+ }
16
214
  ];
17
- var autoClosingPairs = [
18
- [
19
- "[",
20
- "]"
21
- ],
22
- [
23
- "(",
24
- ")"
25
- ],
26
- [
27
- "\"",
28
- "\""
29
- ],
30
- [
31
- "'",
32
- "'"
33
- ]
215
+ var name = "SugarSS";
216
+ var repository = {
217
+ "reserved-words": {
218
+ name: "support.type.property-name.css.sugarss",
219
+ match: "\\b(false|from|in|not|null|through|to|true)\\b"
220
+ },
221
+ "double-quoted": {
222
+ patterns: [
223
+ {
224
+ include: "#quoted-interpolation"
225
+ }
226
+ ],
227
+ begin: "\"",
228
+ name: "string.quoted.double.css.sugarss",
229
+ end: "\""
230
+ },
231
+ operator: {
232
+ name: "keyword.operator.sugarss",
233
+ match: "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~"
234
+ },
235
+ "function-content": {
236
+ name: "string.quoted.double.css.sugarss",
237
+ match: "(?<=url\\(|format\\(|attr\\().+?(?=\\))"
238
+ },
239
+ "double-slash": {
240
+ patterns: [
241
+ {
242
+ include: "#comment-tag"
243
+ }
244
+ ],
245
+ begin: "//",
246
+ name: "comment.line.sugarss",
247
+ end: "$"
248
+ },
249
+ numeric: {
250
+ name: "constant.numeric.css.sugarss",
251
+ match: "(-|\\.)?[0-9]+(\\.[0-9]+)?"
252
+ },
253
+ "variable-root-css": {
254
+ name: "variable.parameter.sugarss",
255
+ match: "(?<!&)--[\\w-]+"
256
+ },
257
+ "function": {
258
+ name: "support.function.name.sugarss",
259
+ match: "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()"
260
+ },
261
+ "rgb-value": {
262
+ name: "constant.other.color.rgb-value.css.sugarss",
263
+ match: "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b"
264
+ },
265
+ "comment-tag": {
266
+ patterns: [
267
+ {
268
+ name: "comment.tag.sugarss",
269
+ match: "[\\w-]+"
270
+ }
271
+ ],
272
+ begin: "{{",
273
+ name: "comment.tags.sugarss",
274
+ end: "}}"
275
+ },
276
+ interpolation: {
277
+ patterns: [
278
+ {
279
+ include: "#variable"
280
+ },
281
+ {
282
+ include: "#numeric"
283
+ },
284
+ {
285
+ include: "#operator"
286
+ },
287
+ {
288
+ include: "#unit"
289
+ },
290
+ {
291
+ include: "#double-quoted"
292
+ },
293
+ {
294
+ include: "#single-quoted"
295
+ }
296
+ ],
297
+ begin: "#{",
298
+ name: "support.function.interpolation.sugarss",
299
+ end: "}"
300
+ },
301
+ unit: {
302
+ name: "keyword.other.unit.css.sugarss",
303
+ match: "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)"
304
+ },
305
+ "function-content-var": {
306
+ name: "variable.parameter.sugarss",
307
+ match: "(?<=var\\()[\\w-]+(?=\\))"
308
+ },
309
+ dotdotdot: {
310
+ name: "variable.other",
311
+ match: "\\.{3}"
312
+ },
313
+ variable: {
314
+ name: "variable.parameter.sugarss",
315
+ match: "\\$[\\w-]+"
316
+ },
317
+ "single-quoted": {
318
+ patterns: [
319
+ {
320
+ include: "#quoted-interpolation"
321
+ }
322
+ ],
323
+ begin: "'",
324
+ name: "string.quoted.single.css.sugarss",
325
+ end: "'"
326
+ },
327
+ "quoted-interpolation": {
328
+ patterns: [
329
+ {
330
+ include: "#variable"
331
+ },
332
+ {
333
+ include: "#numeric"
334
+ },
335
+ {
336
+ include: "#operator"
337
+ },
338
+ {
339
+ include: "#unit"
340
+ }
341
+ ],
342
+ begin: "#{",
343
+ name: "support.function.interpolation.sugarss",
344
+ end: "}"
345
+ },
346
+ "pseudo-class": {
347
+ name: "entity.other.attribute-name.pseudo-class.css.sugarss",
348
+ match: ":[a-z:-]+"
349
+ },
350
+ "property-value": {
351
+ name: "meta.property-value.css.sugarss, support.constant.property-value.css.sugarss",
352
+ match: "[\\w-]+"
353
+ },
354
+ semicolon: {
355
+ name: "invalid.illegal.bad-semicolon.css.sugarss",
356
+ match: ";"
357
+ },
358
+ "placeholder-selector": {
359
+ begin: "(?<!\\d)%(?!\\d)",
360
+ name: "entity.other.attribute-name.placeholder-selector.sugarss",
361
+ end: "$\\n?|\\s|(?={)"
362
+ },
363
+ flag: {
364
+ name: "keyword.other.important.css.sugarss",
365
+ match: "!(important|default|optional|global)"
366
+ },
367
+ "parent-selector": {
368
+ name: "entity.name.tag.css.sugarss",
369
+ match: "&"
370
+ }
371
+ };
372
+ var foldingStartMarker = "/\\*|^#|^\\*|^\\b|^\\.";
373
+ var foldingStopMarker = "\\*/|^\\s*$";
374
+ var fileTypes = [
375
+ "sss"
34
376
  ];
35
- var surroundingPairs = [
36
- [
37
- "[",
38
- "]"
39
- ],
40
- [
41
- "(",
42
- ")"
43
- ],
44
- [
45
- "\"",
46
- "\""
47
- ],
48
- [
49
- "'",
50
- "'"
51
- ]
377
+ var uuid = "BDAE4719-925F-433C-905A-CAE367D924AC";
378
+ var scopeName = "source.css.sugarss";
379
+ var information_for_contributors = [
380
+ "This file has been converted from https://github.com/vuejs/vetur/blob/master/",
381
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
382
+ "Once accepted there, we are happy to receive an update request."
52
383
  ];
53
384
  var vueSugarss = {
54
- comments: comments,
55
- brackets: brackets,
56
- autoClosingPairs: autoClosingPairs,
57
- surroundingPairs: surroundingPairs
385
+ patterns: patterns,
386
+ name: name,
387
+ repository: repository,
388
+ foldingStartMarker: foldingStartMarker,
389
+ foldingStopMarker: foldingStopMarker,
390
+ fileTypes: fileTypes,
391
+ uuid: uuid,
392
+ scopeName: scopeName,
393
+ information_for_contributors: information_for_contributors
58
394
  };
59
395
 
60
- export { autoClosingPairs, brackets, comments, vueSugarss as default, surroundingPairs };
396
+ export { vueSugarss as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, repository, scopeName, uuid };