@codingame/monaco-editor-wrapper 3.4.1 → 3.4.2

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 (48) hide show
  1. package/dist/{HTML (Eex).js → HTML (Eex)2.js} +0 -0
  2. package/dist/atd.js +90 -94
  3. package/dist/atd2.js +94 -90
  4. package/dist/css.worker.js +1 -1
  5. package/dist/d.js +3157 -84
  6. package/dist/d2.js +84 -3157
  7. package/dist/dart.js +510 -83
  8. package/dist/dart2.js +83 -510
  9. package/dist/diet.js +740 -82
  10. package/dist/diet2.js +82 -740
  11. package/dist/dml.js +155 -76
  12. package/dist/dml2.js +76 -155
  13. package/dist/dune-project.js +469 -53
  14. package/dist/dune-project2.js +53 -469
  15. package/dist/dune-workspace.js +287 -54
  16. package/dist/dune-workspace2.js +54 -287
  17. package/dist/dune.js +2948 -51
  18. package/dist/dune2.js +51 -2948
  19. package/dist/elixir.js +2335 -63
  20. package/dist/elixir2.js +63 -2335
  21. package/dist/features/cssContribution.js +1 -4
  22. package/dist/features/extensionConfigurations.js +24 -122
  23. package/dist/features/htmlContribution.js +4 -18
  24. package/dist/features/jsonContribution.js +1 -8
  25. package/dist/features/typescriptContribution.js +4 -8
  26. package/dist/{html (eex)2.js → html (eex).js} +0 -0
  27. package/dist/html.worker.js +1 -1
  28. package/dist/index.js +2178 -1355
  29. package/dist/index2.js +1354 -2186
  30. package/dist/json.worker.js +1 -1
  31. package/dist/main.js +270 -1417
  32. package/dist/ocaml.interface.js +273 -95
  33. package/dist/ocaml.interface2.js +95 -273
  34. package/dist/ocaml.js +884 -95
  35. package/dist/ocaml2.js +95 -884
  36. package/dist/r.js +657 -81
  37. package/dist/r2.js +81 -657
  38. package/dist/sdl.js +150 -78
  39. package/dist/sdl2.js +78 -150
  40. package/dist/solidity.js +1172 -56
  41. package/dist/solidity2.js +56 -1172
  42. package/dist/ts.worker.js +1 -1
  43. package/dist/vim.js +8 -8
  44. package/dist/vue-sugarss.js +390 -54
  45. package/dist/vue-sugarss2.js +54 -390
  46. package/dist/worker.js +1 -3
  47. package/package.json +29 -26
  48. package/stats.html +44 -34
@@ -1,65 +1,298 @@
1
- var comments = {
2
- lineComment: ";"
3
- };
4
- var brackets = [
5
- [
6
- "{",
7
- "}"
8
- ],
9
- [
10
- "[",
11
- "]"
12
- ],
13
- [
14
- "(",
15
- ")"
16
- ]
1
+ var name = "dune-workspace";
2
+ var scopeName = "source.dune-workspace";
3
+ var fileTypes = [
4
+ "dune-workspace"
17
5
  ];
18
- var autoClosingPairs = [
19
- {
20
- open: "{",
21
- close: "}"
22
- },
6
+ var patterns = [
23
7
  {
24
- open: "[",
25
- close: "]"
8
+ include: "#stanzas"
26
9
  },
27
10
  {
28
- open: "(",
29
- close: ")"
30
- },
31
- {
32
- open: "\"",
33
- close: "\"",
34
- notIn: [
35
- "string",
36
- "comment"
37
- ]
11
+ include: "source.dune#general"
38
12
  }
39
13
  ];
40
- var surroundingPairs = [
41
- {
42
- open: "[",
43
- close: "]"
44
- },
45
- {
46
- open: "(",
47
- close: ")"
48
- },
49
- {
50
- open: "\"",
51
- close: "\""
14
+ var repository = {
15
+ stanzas: {
16
+ patterns: [
17
+ {
18
+ comment: "lang",
19
+ begin: "\\([[:space:]]*(lang)[[:space:]]+(dune)\\b",
20
+ end: "\\)",
21
+ beginCaptures: {
22
+ "1": {
23
+ name: "keyword.language.dune-workspace"
24
+ },
25
+ "2": {
26
+ name: "keyword.language.dune-workspace"
27
+ }
28
+ },
29
+ patterns: [
30
+ {
31
+ include: "source.dune#general"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ comment: "profile",
37
+ begin: "\\([[:space:]]*(profile)\\b",
38
+ end: "\\)",
39
+ beginCaptures: {
40
+ "1": {
41
+ name: "keyword.language.dune-workspace"
42
+ }
43
+ },
44
+ contentName: "variable.other.declaration.dune-project",
45
+ patterns: [
46
+ {
47
+ include: "source.dune#general"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ comment: "env",
53
+ begin: "\\([[:space:]]*(env)\\b",
54
+ end: "\\)",
55
+ beginCaptures: {
56
+ "1": {
57
+ name: "keyword.language.dune-workspace"
58
+ }
59
+ },
60
+ patterns: [
61
+ {
62
+ include: "source.dune#general"
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ comment: "context",
68
+ begin: "\\([[:space:]]*(context)\\b",
69
+ end: "\\)",
70
+ beginCaptures: {
71
+ "1": {
72
+ name: "keyword.language.dune-workspace"
73
+ }
74
+ },
75
+ patterns: [
76
+ {
77
+ comment: "default",
78
+ name: "keyword.language.dune-workspace",
79
+ match: "\\b(default)\\b"
80
+ },
81
+ {
82
+ comment: "opam/default",
83
+ begin: "\\([[:space:]]*(opam|default)\\b",
84
+ end: "\\)",
85
+ beginCaptures: {
86
+ "1": {
87
+ name: "keyword.language.dune-workspace"
88
+ }
89
+ },
90
+ patterns: [
91
+ {
92
+ comment: "opam switch",
93
+ begin: "\\([[:space:]]*(switch)\\b",
94
+ end: "\\)",
95
+ beginCaptures: {
96
+ "1": {
97
+ name: "keyword.language.dune-workspace"
98
+ }
99
+ },
100
+ patterns: [
101
+ {
102
+ include: "source.dune#general"
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ comment: "name",
108
+ begin: "\\([[:space:]]*(name)\\b",
109
+ end: "\\)",
110
+ beginCaptures: {
111
+ "1": {
112
+ name: "keyword.language.dune-workspace"
113
+ }
114
+ },
115
+ patterns: [
116
+ {
117
+ include: "source.dune#general"
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ comment: "root",
123
+ begin: "\\([[:space:]]*(root)\\b",
124
+ end: "\\)",
125
+ beginCaptures: {
126
+ "1": {
127
+ name: "keyword.language.dune-workspace"
128
+ }
129
+ },
130
+ patterns: [
131
+ {
132
+ include: "source.dune#general"
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ comment: "merlin",
138
+ begin: "\\([[:space:]]*(merlin)\\b",
139
+ end: "\\)",
140
+ beginCaptures: {
141
+ "1": {
142
+ name: "keyword.language.dune-workspace"
143
+ }
144
+ },
145
+ patterns: [
146
+ {
147
+ include: "source.dune#general"
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ comment: "profile",
153
+ begin: "\\([[:space:]]*(profile)\\b",
154
+ end: "\\)",
155
+ beginCaptures: {
156
+ "1": {
157
+ name: "keyword.language.dune-workspace"
158
+ }
159
+ },
160
+ patterns: [
161
+ {
162
+ include: "source.dune#general"
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ comment: "env",
168
+ begin: "\\([[:space:]]*(env)\\b",
169
+ end: "\\)",
170
+ beginCaptures: {
171
+ "1": {
172
+ name: "keyword.language.dune-workspace"
173
+ }
174
+ },
175
+ patterns: [
176
+ {
177
+ include: "source.dune#general"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ comment: "toolchain",
183
+ begin: "\\([[:space:]]*(toolchain)\\b",
184
+ end: "\\)",
185
+ beginCaptures: {
186
+ "1": {
187
+ name: "keyword.language.dune-workspace"
188
+ }
189
+ },
190
+ patterns: [
191
+ {
192
+ include: "source.dune#general"
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ comment: "host",
198
+ begin: "\\([[:space:]]*(host)\\b",
199
+ end: "\\)",
200
+ beginCaptures: {
201
+ "1": {
202
+ name: "keyword.language.dune-workspace"
203
+ }
204
+ },
205
+ patterns: [
206
+ {
207
+ include: "source.dune#general"
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ comment: "paths",
213
+ begin: "\\([[:space:]]*(paths)\\b",
214
+ end: "\\)",
215
+ beginCaptures: {
216
+ "1": {
217
+ name: "keyword.language.dune-workspace"
218
+ }
219
+ },
220
+ patterns: [
221
+ {
222
+ include: "source.dune#general"
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ comment: "fdo",
228
+ begin: "\\([[:space:]]*(fdo)\\b",
229
+ end: "\\)",
230
+ beginCaptures: {
231
+ "1": {
232
+ name: "keyword.language.dune-workspace"
233
+ }
234
+ },
235
+ patterns: [
236
+ {
237
+ include: "source.dune#general"
238
+ }
239
+ ]
240
+ },
241
+ {
242
+ comment: "disable_dynamically_linked_foreign_archives",
243
+ begin: "\\([[:space:]]*(disable_dynamically_linked_foreign_archives)\\b",
244
+ end: "\\)",
245
+ beginCaptures: {
246
+ "1": {
247
+ name: "keyword.language.dune-workspace"
248
+ }
249
+ },
250
+ patterns: [
251
+ {
252
+ include: "source.dune#general"
253
+ }
254
+ ]
255
+ },
256
+ {
257
+ comment: "targets",
258
+ begin: "\\([[:space:]]*(targets)\\b",
259
+ end: "\\)",
260
+ beginCaptures: {
261
+ "1": {
262
+ name: "keyword.language.dune-workspace"
263
+ }
264
+ },
265
+ patterns: [
266
+ {
267
+ include: "source.dune#general"
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ include: "source.dune#general"
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ include: "source.dune#general"
278
+ }
279
+ ]
280
+ }
281
+ ]
52
282
  }
53
- ];
54
- var wordPattern = {
55
- pattern: "[A-Za-z_'`][A-Za-z_'.0-9]*"
56
283
  };
284
+ var information_for_contributors = [
285
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
286
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
287
+ "Once accepted there, we are happy to receive an update request."
288
+ ];
57
289
  var duneWorkspace = {
58
- comments: comments,
59
- brackets: brackets,
60
- autoClosingPairs: autoClosingPairs,
61
- surroundingPairs: surroundingPairs,
62
- wordPattern: wordPattern
290
+ name: name,
291
+ scopeName: scopeName,
292
+ fileTypes: fileTypes,
293
+ patterns: patterns,
294
+ repository: repository,
295
+ information_for_contributors: information_for_contributors
63
296
  };
64
297
 
65
- export { autoClosingPairs, brackets, comments, duneWorkspace as default, surroundingPairs, wordPattern };
298
+ export { duneWorkspace as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
@@ -1,298 +1,65 @@
1
- var name = "dune-workspace";
2
- var scopeName = "source.dune-workspace";
3
- var fileTypes = [
4
- "dune-workspace"
1
+ var comments = {
2
+ lineComment: ";"
3
+ };
4
+ var brackets = [
5
+ [
6
+ "{",
7
+ "}"
8
+ ],
9
+ [
10
+ "[",
11
+ "]"
12
+ ],
13
+ [
14
+ "(",
15
+ ")"
16
+ ]
5
17
  ];
6
- var patterns = [
18
+ var autoClosingPairs = [
19
+ {
20
+ open: "{",
21
+ close: "}"
22
+ },
7
23
  {
8
- include: "#stanzas"
24
+ open: "[",
25
+ close: "]"
9
26
  },
10
27
  {
11
- include: "source.dune#general"
28
+ open: "(",
29
+ close: ")"
30
+ },
31
+ {
32
+ open: "\"",
33
+ close: "\"",
34
+ notIn: [
35
+ "string",
36
+ "comment"
37
+ ]
12
38
  }
13
39
  ];
14
- var repository = {
15
- stanzas: {
16
- patterns: [
17
- {
18
- comment: "lang",
19
- begin: "\\([[:space:]]*(lang)[[:space:]]+(dune)\\b",
20
- end: "\\)",
21
- beginCaptures: {
22
- "1": {
23
- name: "keyword.language.dune-workspace"
24
- },
25
- "2": {
26
- name: "keyword.language.dune-workspace"
27
- }
28
- },
29
- patterns: [
30
- {
31
- include: "source.dune#general"
32
- }
33
- ]
34
- },
35
- {
36
- comment: "profile",
37
- begin: "\\([[:space:]]*(profile)\\b",
38
- end: "\\)",
39
- beginCaptures: {
40
- "1": {
41
- name: "keyword.language.dune-workspace"
42
- }
43
- },
44
- contentName: "variable.other.declaration.dune-project",
45
- patterns: [
46
- {
47
- include: "source.dune#general"
48
- }
49
- ]
50
- },
51
- {
52
- comment: "env",
53
- begin: "\\([[:space:]]*(env)\\b",
54
- end: "\\)",
55
- beginCaptures: {
56
- "1": {
57
- name: "keyword.language.dune-workspace"
58
- }
59
- },
60
- patterns: [
61
- {
62
- include: "source.dune#general"
63
- }
64
- ]
65
- },
66
- {
67
- comment: "context",
68
- begin: "\\([[:space:]]*(context)\\b",
69
- end: "\\)",
70
- beginCaptures: {
71
- "1": {
72
- name: "keyword.language.dune-workspace"
73
- }
74
- },
75
- patterns: [
76
- {
77
- comment: "default",
78
- name: "keyword.language.dune-workspace",
79
- match: "\\b(default)\\b"
80
- },
81
- {
82
- comment: "opam/default",
83
- begin: "\\([[:space:]]*(opam|default)\\b",
84
- end: "\\)",
85
- beginCaptures: {
86
- "1": {
87
- name: "keyword.language.dune-workspace"
88
- }
89
- },
90
- patterns: [
91
- {
92
- comment: "opam switch",
93
- begin: "\\([[:space:]]*(switch)\\b",
94
- end: "\\)",
95
- beginCaptures: {
96
- "1": {
97
- name: "keyword.language.dune-workspace"
98
- }
99
- },
100
- patterns: [
101
- {
102
- include: "source.dune#general"
103
- }
104
- ]
105
- },
106
- {
107
- comment: "name",
108
- begin: "\\([[:space:]]*(name)\\b",
109
- end: "\\)",
110
- beginCaptures: {
111
- "1": {
112
- name: "keyword.language.dune-workspace"
113
- }
114
- },
115
- patterns: [
116
- {
117
- include: "source.dune#general"
118
- }
119
- ]
120
- },
121
- {
122
- comment: "root",
123
- begin: "\\([[:space:]]*(root)\\b",
124
- end: "\\)",
125
- beginCaptures: {
126
- "1": {
127
- name: "keyword.language.dune-workspace"
128
- }
129
- },
130
- patterns: [
131
- {
132
- include: "source.dune#general"
133
- }
134
- ]
135
- },
136
- {
137
- comment: "merlin",
138
- begin: "\\([[:space:]]*(merlin)\\b",
139
- end: "\\)",
140
- beginCaptures: {
141
- "1": {
142
- name: "keyword.language.dune-workspace"
143
- }
144
- },
145
- patterns: [
146
- {
147
- include: "source.dune#general"
148
- }
149
- ]
150
- },
151
- {
152
- comment: "profile",
153
- begin: "\\([[:space:]]*(profile)\\b",
154
- end: "\\)",
155
- beginCaptures: {
156
- "1": {
157
- name: "keyword.language.dune-workspace"
158
- }
159
- },
160
- patterns: [
161
- {
162
- include: "source.dune#general"
163
- }
164
- ]
165
- },
166
- {
167
- comment: "env",
168
- begin: "\\([[:space:]]*(env)\\b",
169
- end: "\\)",
170
- beginCaptures: {
171
- "1": {
172
- name: "keyword.language.dune-workspace"
173
- }
174
- },
175
- patterns: [
176
- {
177
- include: "source.dune#general"
178
- }
179
- ]
180
- },
181
- {
182
- comment: "toolchain",
183
- begin: "\\([[:space:]]*(toolchain)\\b",
184
- end: "\\)",
185
- beginCaptures: {
186
- "1": {
187
- name: "keyword.language.dune-workspace"
188
- }
189
- },
190
- patterns: [
191
- {
192
- include: "source.dune#general"
193
- }
194
- ]
195
- },
196
- {
197
- comment: "host",
198
- begin: "\\([[:space:]]*(host)\\b",
199
- end: "\\)",
200
- beginCaptures: {
201
- "1": {
202
- name: "keyword.language.dune-workspace"
203
- }
204
- },
205
- patterns: [
206
- {
207
- include: "source.dune#general"
208
- }
209
- ]
210
- },
211
- {
212
- comment: "paths",
213
- begin: "\\([[:space:]]*(paths)\\b",
214
- end: "\\)",
215
- beginCaptures: {
216
- "1": {
217
- name: "keyword.language.dune-workspace"
218
- }
219
- },
220
- patterns: [
221
- {
222
- include: "source.dune#general"
223
- }
224
- ]
225
- },
226
- {
227
- comment: "fdo",
228
- begin: "\\([[:space:]]*(fdo)\\b",
229
- end: "\\)",
230
- beginCaptures: {
231
- "1": {
232
- name: "keyword.language.dune-workspace"
233
- }
234
- },
235
- patterns: [
236
- {
237
- include: "source.dune#general"
238
- }
239
- ]
240
- },
241
- {
242
- comment: "disable_dynamically_linked_foreign_archives",
243
- begin: "\\([[:space:]]*(disable_dynamically_linked_foreign_archives)\\b",
244
- end: "\\)",
245
- beginCaptures: {
246
- "1": {
247
- name: "keyword.language.dune-workspace"
248
- }
249
- },
250
- patterns: [
251
- {
252
- include: "source.dune#general"
253
- }
254
- ]
255
- },
256
- {
257
- comment: "targets",
258
- begin: "\\([[:space:]]*(targets)\\b",
259
- end: "\\)",
260
- beginCaptures: {
261
- "1": {
262
- name: "keyword.language.dune-workspace"
263
- }
264
- },
265
- patterns: [
266
- {
267
- include: "source.dune#general"
268
- }
269
- ]
270
- },
271
- {
272
- include: "source.dune#general"
273
- }
274
- ]
275
- },
276
- {
277
- include: "source.dune#general"
278
- }
279
- ]
280
- }
281
- ]
40
+ var surroundingPairs = [
41
+ {
42
+ open: "[",
43
+ close: "]"
44
+ },
45
+ {
46
+ open: "(",
47
+ close: ")"
48
+ },
49
+ {
50
+ open: "\"",
51
+ close: "\""
282
52
  }
283
- };
284
- var information_for_contributors = [
285
- "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
286
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
287
- "Once accepted there, we are happy to receive an update request."
288
53
  ];
54
+ var wordPattern = {
55
+ pattern: "[A-Za-z_'`][A-Za-z_'.0-9]*"
56
+ };
289
57
  var duneWorkspace = {
290
- name: name,
291
- scopeName: scopeName,
292
- fileTypes: fileTypes,
293
- patterns: patterns,
294
- repository: repository,
295
- information_for_contributors: information_for_contributors
58
+ comments: comments,
59
+ brackets: brackets,
60
+ autoClosingPairs: autoClosingPairs,
61
+ surroundingPairs: surroundingPairs,
62
+ wordPattern: wordPattern
296
63
  };
297
64
 
298
- export { duneWorkspace as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
65
+ export { autoClosingPairs, brackets, comments, duneWorkspace as default, surroundingPairs, wordPattern };