@codingame/monaco-editor-wrapper 1.14.9 → 2.1.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/COBOL.tmLanguage.js +2 -2
- package/dist/META.js +100 -0
- package/dist/atd.js +114 -0
- package/dist/atd2.js +110 -0
- package/dist/cobol-snippets.js +2 -2117
- package/dist/cobol2.js +46 -0
- package/dist/cpp.tmLanguage.js +50 -15
- package/dist/cpptools.js +44 -3
- package/dist/cram.js +257 -0
- package/dist/dart3.js +37 -1
- package/dist/directives.tmLanguage.js +20 -0
- package/dist/dune-project.js +65 -0
- package/dist/dune-project2.js +481 -0
- package/dist/dune-workspace.js +65 -0
- package/dist/dune-workspace2.js +298 -0
- package/dist/dune.js +65 -0
- package/dist/dune2.js +2962 -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 +38 -1
- 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 +825 -426
- 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/menhir-action.js +51 -0
- package/dist/menhir.js +597 -0
- package/dist/merlin.js +23 -23
- package/dist/monaco.d.ts +1 -1
- package/dist/oasis.js +99 -0
- package/dist/ocaml-dune-project.js +38 -0
- package/dist/ocaml-dune.js +53 -0
- package/dist/ocaml-markdown-codeblock.js +1 -1
- package/dist/ocaml-ocaml.js +88 -0
- package/dist/ocaml-ocamllex.js +12 -0
- package/dist/ocaml.META.js +29 -0
- package/dist/ocaml.interface.js +114 -0
- package/dist/ocaml.interface2.js +292 -0
- package/dist/ocaml.js +40 -8
- package/dist/ocaml.menhir.js +81 -0
- package/dist/ocaml.oasis.js +18 -0
- package/dist/ocaml.ocamlbuild.js +45 -0
- package/dist/ocaml.ocamlformat.js +8 -0
- package/dist/ocaml.ocamllex.js +60 -0
- package/dist/ocaml.opam-install.js +49 -0
- package/dist/ocaml.opam.js +69 -0
- package/dist/ocaml2.js +600 -2676
- package/dist/ocaml3.js +89 -105
- package/dist/ocamlbuild.js +142 -192
- package/dist/ocamldoc.js +54 -0
- package/dist/ocamlformat.js +206 -0
- package/dist/ocamllex.js +133 -0
- package/dist/omnisharp.js +2 -2
- package/dist/opam-install.js +40 -0
- package/dist/opam.js +100 -109
- 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/reason-markdown-codeblock.js +1 -1
- package/dist/reason.js +0 -4
- 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/tools/EditorOpenHandlerRegistry.d.ts +8 -0
- 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 +52 -6
- package/stats.html +1 -1
- package/dist/ocaml-hover-info.js +0 -34
- package/dist/ocaml-hover-type.js +0 -24
- package/dist/ocaml-reason.js +0 -100
- package/dist/reason-hover-info.js +0 -34
- package/dist/reason-hover-signature.js +0 -21
- package/dist/reason-hover-type.js +0 -21
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
- package/dist/services/TextModelService.d.ts +0 -25
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
var name = "Svelte PostCSS";
|
|
2
|
+
var scopeName = "source.css.postcss";
|
|
3
|
+
var uuid = "90DAEA60-88AA-11E2-9E96-0800200C9A66";
|
|
4
|
+
var fileTypes = [
|
|
5
|
+
"pcss",
|
|
6
|
+
"postcss"
|
|
7
|
+
];
|
|
8
|
+
var foldingStartMarker = "/\\*|^#|^\\*|^\\b|^\\.";
|
|
9
|
+
var foldingStopMarker = "\\*/|^\\s*$";
|
|
10
|
+
var patterns = [
|
|
11
|
+
{
|
|
12
|
+
begin: "/\\*",
|
|
13
|
+
end: "\\*/",
|
|
14
|
+
name: "comment.block.postcss",
|
|
15
|
+
patterns: [
|
|
16
|
+
{
|
|
17
|
+
include: "#comment-tag"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
include: "#double-slash"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
include: "#double-quoted"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
include: "#single-quoted"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
include: "#interpolation"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
include: "#placeholder-selector"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
include: "#variable"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
include: "#variable-root-css"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
include: "#numeric"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
include: "#unit"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
include: "#flag"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
include: "#dotdotdot"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
begin: "@include",
|
|
56
|
+
end: "(?=\\n|\\(|{|;)",
|
|
57
|
+
name: "support.function.name.postcss.library",
|
|
58
|
+
captures: {
|
|
59
|
+
"0": {
|
|
60
|
+
name: "keyword.control.at-rule.css.postcss"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
begin: "@mixin|@function",
|
|
66
|
+
end: "$\\n?|(?=\\(|{)",
|
|
67
|
+
name: "support.function.name.postcss.no-completions",
|
|
68
|
+
captures: {
|
|
69
|
+
"0": {
|
|
70
|
+
name: "keyword.control.at-rule.css.postcss"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
patterns: [
|
|
74
|
+
{
|
|
75
|
+
match: "[\\w-]+",
|
|
76
|
+
name: "entity.name.function"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
match: "(?<=@import)\\s[\\w/.*-]+",
|
|
82
|
+
name: "string.quoted.double.css.postcss"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
begin: "@",
|
|
86
|
+
end: "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))|(?=;)",
|
|
87
|
+
name: "keyword.control.at-rule.css.postcss"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
begin: "#",
|
|
91
|
+
end: "$\\n?|(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>)",
|
|
92
|
+
name: "entity.other.attribute-name.id.css.postcss",
|
|
93
|
+
patterns: [
|
|
94
|
+
{
|
|
95
|
+
include: "#interpolation"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
include: "#pseudo-class"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
begin: "\\.|(?<=&)(-|_)",
|
|
104
|
+
end: "$\\n?|(?=\\s|,|;|\\(|\\)|\\[|{|>)",
|
|
105
|
+
name: "entity.other.attribute-name.class.css.postcss",
|
|
106
|
+
patterns: [
|
|
107
|
+
{
|
|
108
|
+
include: "#interpolation"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
include: "#pseudo-class"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
begin: "\\[",
|
|
117
|
+
end: "\\]",
|
|
118
|
+
name: "entity.other.attribute-selector.postcss",
|
|
119
|
+
patterns: [
|
|
120
|
+
{
|
|
121
|
+
include: "#double-quoted"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
include: "#single-quoted"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
match: "\\^|\\$|\\*|~",
|
|
128
|
+
name: "keyword.other.regex.postcss"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
match: "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+",
|
|
134
|
+
name: "entity.other.attribute-name.pseudo-class.css.postcss"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
begin: ":",
|
|
138
|
+
end: "$\\n?|(?=;|\\s\\(|and\\(|{|}|\\),)",
|
|
139
|
+
name: "meta.property-list.css.postcss",
|
|
140
|
+
patterns: [
|
|
141
|
+
{
|
|
142
|
+
include: "#double-slash"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
include: "#double-quoted"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
include: "#single-quoted"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
include: "#interpolation"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
include: "#variable"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
include: "#rgb-value"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
include: "#numeric"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
include: "#unit"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
include: "#flag"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
include: "#function"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
include: "#function-content"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
include: "#function-content-var"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
include: "#operator"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
include: "#parent-selector"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
include: "#property-value"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
include: "#rgb-value"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
include: "#function"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
include: "#function-content"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
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)|&",
|
|
199
|
+
end: "(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>|-|_)",
|
|
200
|
+
name: "entity.name.tag.css.postcss.symbol",
|
|
201
|
+
patterns: [
|
|
202
|
+
{
|
|
203
|
+
include: "#interpolation"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
include: "#pseudo-class"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
include: "#operator"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
match: "[a-z-]+((?=:|#{))",
|
|
215
|
+
name: "support.type.property-name.css.postcss"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
include: "#reserved-words"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
include: "#property-value"
|
|
222
|
+
}
|
|
223
|
+
];
|
|
224
|
+
var repository = {
|
|
225
|
+
"comment-tag": {
|
|
226
|
+
begin: "{{",
|
|
227
|
+
end: "}}",
|
|
228
|
+
name: "comment.tags.postcss",
|
|
229
|
+
patterns: [
|
|
230
|
+
{
|
|
231
|
+
match: "[\\w-]+",
|
|
232
|
+
name: "comment.tag.postcss"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
dotdotdot: {
|
|
237
|
+
match: "\\.{3}",
|
|
238
|
+
name: "variable.other"
|
|
239
|
+
},
|
|
240
|
+
"double-slash": {
|
|
241
|
+
begin: "//",
|
|
242
|
+
end: "$",
|
|
243
|
+
name: "comment.line.postcss",
|
|
244
|
+
patterns: [
|
|
245
|
+
{
|
|
246
|
+
include: "#comment-tag"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"double-quoted": {
|
|
251
|
+
begin: "\"",
|
|
252
|
+
end: "\"",
|
|
253
|
+
name: "string.quoted.double.css.postcss",
|
|
254
|
+
patterns: [
|
|
255
|
+
{
|
|
256
|
+
include: "#quoted-interpolation"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
flag: {
|
|
261
|
+
match: "!(important|default|optional|global)",
|
|
262
|
+
name: "keyword.other.important.css.postcss"
|
|
263
|
+
},
|
|
264
|
+
"function": {
|
|
265
|
+
match: "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()",
|
|
266
|
+
name: "support.function.name.postcss"
|
|
267
|
+
},
|
|
268
|
+
"function-content": {
|
|
269
|
+
match: "(?<=url\\(|format\\(|attr\\().+?(?=\\))",
|
|
270
|
+
name: "string.quoted.double.css.postcss"
|
|
271
|
+
},
|
|
272
|
+
"function-content-var": {
|
|
273
|
+
match: "(?<=var\\()[\\w-]+(?=\\))",
|
|
274
|
+
name: "variable.parameter.postcss"
|
|
275
|
+
},
|
|
276
|
+
interpolation: {
|
|
277
|
+
begin: "#{",
|
|
278
|
+
end: "}",
|
|
279
|
+
name: "support.function.interpolation.postcss",
|
|
280
|
+
patterns: [
|
|
281
|
+
{
|
|
282
|
+
include: "#variable"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
include: "#numeric"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
include: "#operator"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
include: "#unit"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
include: "#double-quoted"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
include: "#single-quoted"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
numeric: {
|
|
302
|
+
match: "(-|\\.)?[0-9]+(\\.[0-9]+)?",
|
|
303
|
+
name: "constant.numeric.css.postcss"
|
|
304
|
+
},
|
|
305
|
+
operator: {
|
|
306
|
+
match: "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~",
|
|
307
|
+
name: "keyword.operator.postcss"
|
|
308
|
+
},
|
|
309
|
+
"parent-selector": {
|
|
310
|
+
match: "&",
|
|
311
|
+
name: "entity.name.tag.css.postcss"
|
|
312
|
+
},
|
|
313
|
+
"placeholder-selector": {
|
|
314
|
+
begin: "(?<!\\d)%(?!\\d)",
|
|
315
|
+
end: "$\\n?|\\s|(?=;|{)",
|
|
316
|
+
name: "entity.other.attribute-name.placeholder-selector.postcss"
|
|
317
|
+
},
|
|
318
|
+
"property-value": {
|
|
319
|
+
match: "[\\w-]+",
|
|
320
|
+
name: "meta.property-value.css.postcss, support.constant.property-value.css.postcss"
|
|
321
|
+
},
|
|
322
|
+
"pseudo-class": {
|
|
323
|
+
match: ":[a-z:-]+",
|
|
324
|
+
name: "entity.other.attribute-name.pseudo-class.css.postcss"
|
|
325
|
+
},
|
|
326
|
+
"quoted-interpolation": {
|
|
327
|
+
begin: "#{",
|
|
328
|
+
end: "}",
|
|
329
|
+
name: "support.function.interpolation.postcss",
|
|
330
|
+
patterns: [
|
|
331
|
+
{
|
|
332
|
+
include: "#variable"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
include: "#numeric"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
include: "#operator"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
include: "#unit"
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"reserved-words": {
|
|
346
|
+
match: "\\b(false|from|in|not|null|through|to|true)\\b",
|
|
347
|
+
name: "support.type.property-name.css.postcss"
|
|
348
|
+
},
|
|
349
|
+
"rgb-value": {
|
|
350
|
+
match: "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
|
351
|
+
name: "constant.other.color.rgb-value.css.postcss"
|
|
352
|
+
},
|
|
353
|
+
"single-quoted": {
|
|
354
|
+
begin: "'",
|
|
355
|
+
end: "'",
|
|
356
|
+
name: "string.quoted.single.css.postcss",
|
|
357
|
+
patterns: [
|
|
358
|
+
{
|
|
359
|
+
include: "#quoted-interpolation"
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
unit: {
|
|
364
|
+
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|%)",
|
|
365
|
+
name: "keyword.other.unit.css.postcss"
|
|
366
|
+
},
|
|
367
|
+
variable: {
|
|
368
|
+
match: "\\$[\\w-]+",
|
|
369
|
+
name: "variable.parameter.postcss"
|
|
370
|
+
},
|
|
371
|
+
"variable-root-css": {
|
|
372
|
+
match: "(?<!&)--[\\w-]+",
|
|
373
|
+
name: "variable.parameter.postcss"
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
var information_for_contributors = [
|
|
377
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
378
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
379
|
+
"Once accepted there, we are happy to receive an update request."
|
|
380
|
+
];
|
|
381
|
+
var postcss_src_yaml = {
|
|
382
|
+
name: name,
|
|
383
|
+
scopeName: scopeName,
|
|
384
|
+
uuid: uuid,
|
|
385
|
+
fileTypes: fileTypes,
|
|
386
|
+
foldingStartMarker: foldingStartMarker,
|
|
387
|
+
foldingStopMarker: foldingStopMarker,
|
|
388
|
+
patterns: patterns,
|
|
389
|
+
repository: repository,
|
|
390
|
+
information_for_contributors: information_for_contributors
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
export { postcss_src_yaml as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, repository, scopeName, uuid };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var scopeName = "svelte.pug.dotblock";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:text.block.pug -meta.embedded.ts";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#interp-object-literal"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
include: "#interp"
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
var repository = {
|
|
14
|
+
"interp-object-literal": {
|
|
15
|
+
contentName: "meta.interpolation meta.embedded.ts",
|
|
16
|
+
begin: "(?![!$#]){\\s*?(?={)",
|
|
17
|
+
beginCaptures: {
|
|
18
|
+
"0": {
|
|
19
|
+
name: "punctuation.section.interpolation.begin"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
end: "(?<=})\\s*?}",
|
|
23
|
+
endCaptures: {
|
|
24
|
+
"0": {
|
|
25
|
+
name: "punctuation.section.interpolation.end"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
patterns: [
|
|
29
|
+
{
|
|
30
|
+
include: "source.ts#object-literal"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
interp: {
|
|
35
|
+
contentName: "meta.interpolation meta.embedded.ts",
|
|
36
|
+
begin: "(?![!$#]){",
|
|
37
|
+
beginCaptures: {
|
|
38
|
+
"0": {
|
|
39
|
+
name: "punctuation.section.interpolation.begin"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
end: "}",
|
|
43
|
+
endCaptures: {
|
|
44
|
+
"0": {
|
|
45
|
+
name: "punctuation.section.interpolation.end"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
patterns: [
|
|
49
|
+
{
|
|
50
|
+
include: "source.ts"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var information_for_contributors = [
|
|
56
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
57
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
58
|
+
"Once accepted there, we are happy to receive an update request."
|
|
59
|
+
];
|
|
60
|
+
var pugSvelteDotblock = {
|
|
61
|
+
scopeName: scopeName,
|
|
62
|
+
fileTypes: fileTypes,
|
|
63
|
+
injectionSelector: injectionSelector,
|
|
64
|
+
patterns: patterns,
|
|
65
|
+
repository: repository,
|
|
66
|
+
information_for_contributors: information_for_contributors
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export { pugSvelteDotblock as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
var scopeName = "svelte.pug.tags";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:text.pug meta.tag.other -meta.embedded.ts";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#interp-object-literal"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
include: "#interp"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
include: "#attr-function"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
include: "#attr-interp"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
include: "#attr-interp-invalid-quotes"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
include: "#attr-interp-invalid-noquotes"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
include: "#attr-event"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
include: "#attr-variable"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
var repository = {
|
|
32
|
+
"interp-object-literal": {
|
|
33
|
+
contentName: "meta.interpolation meta.embedded.ts",
|
|
34
|
+
begin: "(?![!$#]){\\s*?(?={)",
|
|
35
|
+
beginCaptures: {
|
|
36
|
+
"0": {
|
|
37
|
+
name: "punctuation.section.interpolation.begin"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
end: "(?<=})\\s*?}",
|
|
41
|
+
endCaptures: {
|
|
42
|
+
"0": {
|
|
43
|
+
name: "punctuation.section.interpolation.end"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
patterns: [
|
|
47
|
+
{
|
|
48
|
+
include: "source.ts#object-literal"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
interp: {
|
|
53
|
+
contentName: "meta.interpolation meta.embedded.ts",
|
|
54
|
+
begin: "(?![!$#]){",
|
|
55
|
+
beginCaptures: {
|
|
56
|
+
"0": {
|
|
57
|
+
name: "punctuation.section.interpolation.begin"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
end: "}",
|
|
61
|
+
endCaptures: {
|
|
62
|
+
"0": {
|
|
63
|
+
name: "punctuation.section.interpolation.end"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
patterns: [
|
|
67
|
+
{
|
|
68
|
+
include: "source.ts"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"attr-interp": {
|
|
73
|
+
match: "\\b(?<=[\\w$\\-_]*)\\s*?(!=|=)\\s*?([`'\"])((?![$!#]){.*})(\\k<2>)",
|
|
74
|
+
captures: {
|
|
75
|
+
"1": {
|
|
76
|
+
patterns: [
|
|
77
|
+
{
|
|
78
|
+
match: "=",
|
|
79
|
+
name: "invalid.illegal"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
match: "!=",
|
|
83
|
+
name: "keyword.operator.assignment"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"2": {
|
|
88
|
+
name: "punctuation.section.interpolation.begin"
|
|
89
|
+
},
|
|
90
|
+
"3": {
|
|
91
|
+
patterns: [
|
|
92
|
+
{
|
|
93
|
+
include: "#interp"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"4": {
|
|
98
|
+
name: "punctuation.section.interpolation.begin"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"attr-interp-invalid-quotes": {
|
|
103
|
+
match: "\\b(?<=[\\w$\\-_]*)\\s*?(!=|=)\\s*?([`'\"])((?![$!#]){.*})(?!\\k<2>)",
|
|
104
|
+
captures: {
|
|
105
|
+
"1": {
|
|
106
|
+
patterns: [
|
|
107
|
+
{
|
|
108
|
+
match: "=",
|
|
109
|
+
name: "invalid.illegal"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
match: "!=",
|
|
113
|
+
name: "keyword.operator.assignment"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"2": {
|
|
118
|
+
name: "punctuation.section.interpolation.begin"
|
|
119
|
+
},
|
|
120
|
+
"3": {
|
|
121
|
+
name: "invalid.illegal"
|
|
122
|
+
},
|
|
123
|
+
"4": {
|
|
124
|
+
name: "invalid.illegal"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"attr-interp-invalid-noquotes": {
|
|
129
|
+
match: "\\b(?<=[\\w$\\-_]*)\\s*?(!=|=)\\s*?(?![`'\"])((?![$!#]){.*})(?![`'\"])",
|
|
130
|
+
captures: {
|
|
131
|
+
"1": {
|
|
132
|
+
patterns: [
|
|
133
|
+
{
|
|
134
|
+
match: "=",
|
|
135
|
+
name: "invalid.illegal"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
match: "!=",
|
|
139
|
+
name: "keyword.operator.assignment"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"2": {
|
|
144
|
+
name: "invalid.illegal"
|
|
145
|
+
},
|
|
146
|
+
"3": {
|
|
147
|
+
patterns: [
|
|
148
|
+
{
|
|
149
|
+
include: "#interp"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"4": {
|
|
154
|
+
name: "invalid.illegal"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"attr-function": {
|
|
159
|
+
match: "\\b(use|transition|in|out|animate)(:)(\\w+)",
|
|
160
|
+
captures: {
|
|
161
|
+
"1": {
|
|
162
|
+
name: "entity.other.attribute-name"
|
|
163
|
+
},
|
|
164
|
+
"2": {
|
|
165
|
+
name: "keyword.operator.assignment"
|
|
166
|
+
},
|
|
167
|
+
"3": {
|
|
168
|
+
name: "variable.function"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"attr-event": {
|
|
173
|
+
match: "\\b(on)(:)(\\w+)",
|
|
174
|
+
captures: {
|
|
175
|
+
"1": {
|
|
176
|
+
name: "entity.other.attribute-name"
|
|
177
|
+
},
|
|
178
|
+
"2": {
|
|
179
|
+
name: "keyword.operator.assignment"
|
|
180
|
+
},
|
|
181
|
+
"3": {
|
|
182
|
+
name: "entity.name.type"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"attr-variable": {
|
|
187
|
+
match: "\\b(bind|class|let)(:)(\\w+)",
|
|
188
|
+
captures: {
|
|
189
|
+
"1": {
|
|
190
|
+
name: "entity.other.attribute-name"
|
|
191
|
+
},
|
|
192
|
+
"2": {
|
|
193
|
+
name: "keyword.operator.assignment"
|
|
194
|
+
},
|
|
195
|
+
"3": {
|
|
196
|
+
name: "variable.parameter"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
var information_for_contributors = [
|
|
202
|
+
"This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
|
|
203
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
204
|
+
"Once accepted there, we are happy to receive an update request."
|
|
205
|
+
];
|
|
206
|
+
var pugSvelteTags = {
|
|
207
|
+
scopeName: scopeName,
|
|
208
|
+
fileTypes: fileTypes,
|
|
209
|
+
injectionSelector: injectionSelector,
|
|
210
|
+
patterns: patterns,
|
|
211
|
+
repository: repository,
|
|
212
|
+
information_for_contributors: information_for_contributors
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
export { pugSvelteTags as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|