@codingame/monaco-editor-wrapper 1.14.9 → 1.15.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.
- package/dist/cpp.tmLanguage.js +50 -15
- package/dist/cpptools.js +44 -3
- package/dist/dart3.js +37 -1
- package/dist/directives.tmLanguage.js +20 -0
- package/dist/erlang.js +4 -4
- package/dist/features/extensionConfigurations.js +11 -1
- package/dist/fsharp.tmLanguage.js +24 -4
- package/dist/index.js +7 -0
- package/dist/interpolations.tmLanguage.js +20 -0
- package/dist/java2.js +6 -0
- package/dist/json.js +1 -1
- package/dist/jsonc.js +1 -1
- package/dist/lua2.js +1089 -125
- package/dist/main.js +303 -3
- package/dist/markdown-svelte-css.js +37 -0
- package/dist/markdown-svelte-js.js +37 -0
- package/dist/markdown-svelte.js +59 -0
- package/dist/markdown-vue.js +59 -0
- package/dist/omnisharp.js +2 -2
- package/dist/postcss.src.yaml.js +393 -0
- package/dist/pug-svelte-dotblock.js +69 -0
- package/dist/pug-svelte-tags.js +215 -0
- package/dist/pug-svelte.js +307 -0
- package/dist/scalameta.js +5 -3
- package/dist/sql.tmLanguage.js +21 -5
- package/dist/svelte.js +118 -0
- package/dist/svelte.svelte-vscode-svelte.js +46 -0
- package/dist/svelte.svelte-vscode.js +373 -0
- package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
- package/dist/theme-defaults~light_vs.js +2 -1
- package/dist/typescript-language-features.js +16 -0
- package/dist/typescript.js +20 -1
- package/dist/typescriptreact.js +20 -1
- package/dist/vetur.js +407 -0
- package/dist/vscode-R.js +55 -0
- package/dist/vscode-python.js +6 -6
- package/dist/vue-generated.js +1301 -0
- package/dist/vue-html.js +99 -0
- package/dist/vue-html.tmLanguage.js +573 -0
- package/dist/vue-postcss.js +72 -0
- package/dist/vue-sugarss.js +60 -0
- package/dist/vue-sugarss2.js +396 -0
- package/dist/vue.js +106 -0
- package/package.json +7 -6
- package/stats.html +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var comments = {
|
|
2
|
+
blockComment: [
|
|
3
|
+
"/*",
|
|
4
|
+
"*/"
|
|
5
|
+
]
|
|
6
|
+
};
|
|
7
|
+
var brackets = [
|
|
8
|
+
[
|
|
9
|
+
"{",
|
|
10
|
+
"}"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"[",
|
|
14
|
+
"]"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"(",
|
|
18
|
+
")"
|
|
19
|
+
]
|
|
20
|
+
];
|
|
21
|
+
var autoClosingPairs = [
|
|
22
|
+
[
|
|
23
|
+
"{",
|
|
24
|
+
"}"
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"[",
|
|
28
|
+
"]"
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"(",
|
|
32
|
+
")"
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"\"",
|
|
36
|
+
"\""
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"'",
|
|
40
|
+
"'"
|
|
41
|
+
]
|
|
42
|
+
];
|
|
43
|
+
var surroundingPairs = [
|
|
44
|
+
[
|
|
45
|
+
"{",
|
|
46
|
+
"}"
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"[",
|
|
50
|
+
"]"
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
"(",
|
|
54
|
+
")"
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
"\"",
|
|
58
|
+
"\""
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
"'",
|
|
62
|
+
"'"
|
|
63
|
+
]
|
|
64
|
+
];
|
|
65
|
+
var vuePostcss = {
|
|
66
|
+
comments: comments,
|
|
67
|
+
brackets: brackets,
|
|
68
|
+
autoClosingPairs: autoClosingPairs,
|
|
69
|
+
surroundingPairs: surroundingPairs
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export { autoClosingPairs, brackets, comments, vuePostcss as default, surroundingPairs };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var comments = {
|
|
2
|
+
blockComment: [
|
|
3
|
+
"/*",
|
|
4
|
+
"*/"
|
|
5
|
+
]
|
|
6
|
+
};
|
|
7
|
+
var brackets = [
|
|
8
|
+
[
|
|
9
|
+
"[",
|
|
10
|
+
"]"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"(",
|
|
14
|
+
")"
|
|
15
|
+
]
|
|
16
|
+
];
|
|
17
|
+
var autoClosingPairs = [
|
|
18
|
+
[
|
|
19
|
+
"[",
|
|
20
|
+
"]"
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"(",
|
|
24
|
+
")"
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"\"",
|
|
28
|
+
"\""
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"'",
|
|
32
|
+
"'"
|
|
33
|
+
]
|
|
34
|
+
];
|
|
35
|
+
var surroundingPairs = [
|
|
36
|
+
[
|
|
37
|
+
"[",
|
|
38
|
+
"]"
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
"(",
|
|
42
|
+
")"
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"\"",
|
|
46
|
+
"\""
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"'",
|
|
50
|
+
"'"
|
|
51
|
+
]
|
|
52
|
+
];
|
|
53
|
+
var vueSugarss = {
|
|
54
|
+
comments: comments,
|
|
55
|
+
brackets: brackets,
|
|
56
|
+
autoClosingPairs: autoClosingPairs,
|
|
57
|
+
surroundingPairs: surroundingPairs
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export { autoClosingPairs, brackets, comments, vueSugarss as default, surroundingPairs };
|
|
@@ -0,0 +1,396 @@
|
|
|
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
|
+
}
|
|
214
|
+
];
|
|
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"
|
|
376
|
+
];
|
|
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."
|
|
383
|
+
];
|
|
384
|
+
var vueSugarss = {
|
|
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
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
export { vueSugarss as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, repository, scopeName, uuid };
|
package/dist/vue.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
var comments = {
|
|
2
|
+
lineComment: "//",
|
|
3
|
+
blockComment: [
|
|
4
|
+
"/*",
|
|
5
|
+
"*/"
|
|
6
|
+
]
|
|
7
|
+
};
|
|
8
|
+
var brackets = [
|
|
9
|
+
[
|
|
10
|
+
"{",
|
|
11
|
+
"}"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"[",
|
|
15
|
+
"]"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"(",
|
|
19
|
+
")"
|
|
20
|
+
]
|
|
21
|
+
];
|
|
22
|
+
var autoClosingPairs = [
|
|
23
|
+
{
|
|
24
|
+
open: "{",
|
|
25
|
+
close: "}"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
open: "[",
|
|
29
|
+
close: "]"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
open: "(",
|
|
33
|
+
close: ")"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
open: "\"",
|
|
37
|
+
close: "\"",
|
|
38
|
+
notIn: [
|
|
39
|
+
"string"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
open: "'",
|
|
44
|
+
close: "'",
|
|
45
|
+
notIn: [
|
|
46
|
+
"string",
|
|
47
|
+
"comment"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
open: "`",
|
|
52
|
+
close: "`",
|
|
53
|
+
notIn: [
|
|
54
|
+
"string",
|
|
55
|
+
"comment"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
open: "/**",
|
|
60
|
+
close: " */",
|
|
61
|
+
notIn: [
|
|
62
|
+
"string"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
];
|
|
66
|
+
var surroundingPairs = [
|
|
67
|
+
[
|
|
68
|
+
"{",
|
|
69
|
+
"}"
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
"[",
|
|
73
|
+
"]"
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
"(",
|
|
77
|
+
")"
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
"\"",
|
|
81
|
+
"\""
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
"'",
|
|
85
|
+
"'"
|
|
86
|
+
],
|
|
87
|
+
[
|
|
88
|
+
"`",
|
|
89
|
+
"`"
|
|
90
|
+
]
|
|
91
|
+
];
|
|
92
|
+
var folding = {
|
|
93
|
+
markers: {
|
|
94
|
+
start: "^<(template|style|script)[^>]*>",
|
|
95
|
+
end: "^</(template|style|script)>"
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
var vue = {
|
|
99
|
+
comments: comments,
|
|
100
|
+
brackets: brackets,
|
|
101
|
+
autoClosingPairs: autoClosingPairs,
|
|
102
|
+
surroundingPairs: surroundingPairs,
|
|
103
|
+
folding: folding
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export { autoClosingPairs, brackets, comments, vue as default, folding, surroundingPairs };
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-editor-wrapper",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Enhanced Monaco editor with TextMate grammars and more",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "rollup --config rollup.config.ts --configPlugin typescript && npm run generate-types",
|
|
7
|
+
"build": "npm run lint && rollup --config rollup.config.ts --configPlugin typescript && npm run generate-types",
|
|
8
8
|
"generate-types": "tsc --project tsconfig.types.json",
|
|
9
|
-
"update-extensions": "ts-node update-extensions.ts"
|
|
9
|
+
"update-extensions": "node --loader ts-node/esm update-extensions.ts",
|
|
10
|
+
"lint": "eslint --ext .ts src update-extensions.ts"
|
|
10
11
|
},
|
|
11
12
|
"repository": {
|
|
12
13
|
"type": "git",
|
|
@@ -36,11 +37,11 @@
|
|
|
36
37
|
"@rollup/plugin-alias": "3.1.9",
|
|
37
38
|
"@rollup/plugin-babel": "5.3.1",
|
|
38
39
|
"@rollup/plugin-commonjs": "22.0.0",
|
|
39
|
-
"@rollup/plugin-eslint": "8.0.2",
|
|
40
40
|
"@rollup/plugin-json": "4.1.0",
|
|
41
41
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
42
42
|
"@rollup/plugin-typescript": "^8.3.3",
|
|
43
43
|
"@types/ini": "1.3.31",
|
|
44
|
+
"@types/js-yaml": "^4.0.5",
|
|
44
45
|
"@types/node": "16.11.7",
|
|
45
46
|
"@types/rollup-plugin-node-builtins": "^2.1.2",
|
|
46
47
|
"@typescript-eslint/eslint-plugin": "5.27.1",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
57
58
|
"fast-plist": "0.1.2",
|
|
58
59
|
"ini": "3.0.0",
|
|
60
|
+
"js-yaml": "^4.1.0",
|
|
59
61
|
"json5": "2.2.1",
|
|
60
62
|
"monaco-emacs": "^0.3.0",
|
|
61
63
|
"monaco-vim": "^0.3.4",
|
|
@@ -70,8 +72,7 @@
|
|
|
70
72
|
"ts-node": "10.8.1",
|
|
71
73
|
"tslib": "^2.4.0",
|
|
72
74
|
"typescript": "4.7.3",
|
|
73
|
-
"vscode-textmate": "^6.0.0"
|
|
74
|
-
"yaml": "2.1.1"
|
|
75
|
+
"vscode-textmate": "^6.0.0"
|
|
75
76
|
},
|
|
76
77
|
"browserslist": [
|
|
77
78
|
"defaults",
|