@codingame/monaco-editor-wrapper 3.4.2 → 3.5.1
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/JavaScript.tmLanguage.js +13 -7
- package/dist/JavaScriptReact.tmLanguage.js +13 -7
- package/dist/MagicPython.tmLanguage.js +179 -1298
- package/dist/Scala.tmLanguage.js +1 -1
- package/dist/TypeScript.tmLanguage.js +13 -7
- package/dist/TypeScriptReact.tmLanguage.js +13 -7
- package/dist/c.js +8 -0
- package/dist/cpp.js +8 -0
- package/dist/cpp.tmLanguage.js +150 -112
- package/dist/cpptools.js +143 -40
- package/dist/cuda-cpp.js +8 -0
- package/dist/d.js +2 -2
- package/dist/d3.js +4 -2
- package/dist/dart3.js +0 -6
- package/dist/django-html.js +155 -0
- package/dist/django-html.tmLanguage.js +715 -0
- package/dist/django-txt.js +155 -0
- package/dist/django-txt.tmLanguage.js +269 -0
- package/dist/features/extensionConfigurations.js +3 -2
- package/dist/html-html.code-snippets.js +20 -0
- package/dist/html.js +5 -124
- package/dist/index2.js +9 -8
- package/dist/jade.js +11 -0
- package/dist/java2.js +38 -9
- package/dist/lua2.js +35 -0
- package/dist/main.js +150 -71
- package/dist/markdown-vue.js +12 -17
- package/dist/markdown.js +23 -73
- package/dist/omnisharp.js +6 -0
- package/dist/php-php.code-snippets.js +2 -0
- package/dist/plaintext.js +11 -0
- package/dist/scalameta.js +5 -4
- package/dist/semanticdb.js +62 -0
- package/dist/solidity3.js +6 -5
- package/dist/svelte.svelte-vscode-javascript.js +45 -0
- package/dist/svelte.svelte-vscode-typescript.js +43 -0
- package/dist/svelte.svelte-vscode.js +8 -1
- package/dist/svelte.tmLanguage.src.yaml.js +3 -3
- package/dist/theme-defaults~light_vs.js +3 -2
- package/dist/typescript-basics-typescript.code-snippets.js +1 -0
- package/dist/volar-vue.js +310 -0
- package/dist/vscode-R.js +53 -14
- package/dist/vscode-django-filters.js +340 -0
- package/dist/vscode-django.js +37 -0
- package/dist/vscode-python.js +8 -10
- package/dist/vue-directives.js +25 -0
- package/dist/vue-interpolations.js +25 -0
- package/dist/vue-sfc-style-variable-injection.js +63 -0
- package/dist/vue.js +84 -39
- package/dist/vue.tmLanguage.js +1186 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/directives.tmLanguage.js +0 -20
- package/dist/interpolations.tmLanguage.js +0 -20
- package/dist/vetur.js +0 -407
- package/dist/vue-generated.js +0 -1301
- package/dist/vue-html.js +0 -99
- package/dist/vue-html.tmLanguage.js +0 -573
- package/dist/vue-postcss.js +0 -72
- package/dist/vue-sugarss.js +0 -396
- package/dist/vue-sugarss2.js +0 -60
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
var _comment = "This section is autocomplete for django template filters";
|
|
2
|
+
var join = {
|
|
3
|
+
description: "Filter |join:', '",
|
|
4
|
+
prefix: "join",
|
|
5
|
+
body: "join:${1:', '}$0"
|
|
6
|
+
};
|
|
7
|
+
var addslashes = {
|
|
8
|
+
description: "Filter |addslashes",
|
|
9
|
+
prefix: "addslashes",
|
|
10
|
+
body: "addslashes"
|
|
11
|
+
};
|
|
12
|
+
var capfirst = {
|
|
13
|
+
description: "Filter |capfirst",
|
|
14
|
+
prefix: "capfirst",
|
|
15
|
+
body: "capfirst"
|
|
16
|
+
};
|
|
17
|
+
var escapejs = {
|
|
18
|
+
description: "Filter |escapejs",
|
|
19
|
+
prefix: "escapejs",
|
|
20
|
+
body: "escapejs"
|
|
21
|
+
};
|
|
22
|
+
var floatformat = {
|
|
23
|
+
description: "Filter |floatformat",
|
|
24
|
+
prefix: "floatformat",
|
|
25
|
+
body: "floatformat"
|
|
26
|
+
};
|
|
27
|
+
var iriencode = {
|
|
28
|
+
description: "Filter |iriencode",
|
|
29
|
+
prefix: "iriencode",
|
|
30
|
+
body: "iriencode"
|
|
31
|
+
};
|
|
32
|
+
var linenumbers = {
|
|
33
|
+
description: "Filter |linenumbers",
|
|
34
|
+
prefix: "linenumbers",
|
|
35
|
+
body: "linenumbers"
|
|
36
|
+
};
|
|
37
|
+
var lower = {
|
|
38
|
+
description: "Filter |lower",
|
|
39
|
+
prefix: "lower",
|
|
40
|
+
body: "lower"
|
|
41
|
+
};
|
|
42
|
+
var make_list = {
|
|
43
|
+
description: "Filter |make_list",
|
|
44
|
+
prefix: "make_list",
|
|
45
|
+
body: "make_list"
|
|
46
|
+
};
|
|
47
|
+
var slugify = {
|
|
48
|
+
description: "Filter |slugify",
|
|
49
|
+
prefix: "slugify",
|
|
50
|
+
body: "slugify"
|
|
51
|
+
};
|
|
52
|
+
var stringformat = {
|
|
53
|
+
description: "Filter |stringformat",
|
|
54
|
+
prefix: "stringformat",
|
|
55
|
+
body: "stringformat"
|
|
56
|
+
};
|
|
57
|
+
var title = {
|
|
58
|
+
description: "Filter |title",
|
|
59
|
+
prefix: "title",
|
|
60
|
+
body: "title"
|
|
61
|
+
};
|
|
62
|
+
var truncatechars = {
|
|
63
|
+
description: "Filter |truncatechars",
|
|
64
|
+
prefix: "truncatechars",
|
|
65
|
+
body: "truncatechars"
|
|
66
|
+
};
|
|
67
|
+
var truncatechars_html = {
|
|
68
|
+
description: "Filter |stuff:', truncatechars_html",
|
|
69
|
+
prefix: "truncatechars_html",
|
|
70
|
+
body: "truncatechars_html"
|
|
71
|
+
};
|
|
72
|
+
var truncatewords = {
|
|
73
|
+
description: "Filter |truncatewords",
|
|
74
|
+
prefix: "truncatewords",
|
|
75
|
+
body: "truncatewords"
|
|
76
|
+
};
|
|
77
|
+
var truncatewords_html = {
|
|
78
|
+
description: "Filter |stuff:', truncatewords_html",
|
|
79
|
+
prefix: "truncatewords_html",
|
|
80
|
+
body: "truncatewords_html"
|
|
81
|
+
};
|
|
82
|
+
var upper = {
|
|
83
|
+
description: "Filter |upper",
|
|
84
|
+
prefix: "upper",
|
|
85
|
+
body: "upper"
|
|
86
|
+
};
|
|
87
|
+
var urlencode = {
|
|
88
|
+
description: "Filter |urlencode",
|
|
89
|
+
prefix: "urlencode",
|
|
90
|
+
body: "urlencode"
|
|
91
|
+
};
|
|
92
|
+
var urlize = {
|
|
93
|
+
description: "Filter |urlize",
|
|
94
|
+
prefix: "urlize",
|
|
95
|
+
body: "urlize"
|
|
96
|
+
};
|
|
97
|
+
var urlizetrunc = {
|
|
98
|
+
description: "Filter |urlizetrunc",
|
|
99
|
+
prefix: "urlizetrunc",
|
|
100
|
+
body: "urlizetrunc"
|
|
101
|
+
};
|
|
102
|
+
var wordcount = {
|
|
103
|
+
description: "Filter |wordcount",
|
|
104
|
+
prefix: "wordcount",
|
|
105
|
+
body: "wordcount"
|
|
106
|
+
};
|
|
107
|
+
var wordwrap = {
|
|
108
|
+
description: "Filter |wordwrap",
|
|
109
|
+
prefix: "wordwrap",
|
|
110
|
+
body: "wordwrap"
|
|
111
|
+
};
|
|
112
|
+
var ljust = {
|
|
113
|
+
description: "Filter |ljust",
|
|
114
|
+
prefix: "ljust",
|
|
115
|
+
body: "ljust"
|
|
116
|
+
};
|
|
117
|
+
var rjust = {
|
|
118
|
+
description: "Filter |rjust",
|
|
119
|
+
prefix: "rjust",
|
|
120
|
+
body: "rjust"
|
|
121
|
+
};
|
|
122
|
+
var center = {
|
|
123
|
+
description: "Filter |center",
|
|
124
|
+
prefix: "center",
|
|
125
|
+
body: "center"
|
|
126
|
+
};
|
|
127
|
+
var cut = {
|
|
128
|
+
description: "Filter |cut",
|
|
129
|
+
prefix: "cut",
|
|
130
|
+
body: "cut"
|
|
131
|
+
};
|
|
132
|
+
var force_escape = {
|
|
133
|
+
description: "Filter |force_escape",
|
|
134
|
+
prefix: "force_escape",
|
|
135
|
+
body: "force_escape"
|
|
136
|
+
};
|
|
137
|
+
var linebreaks = {
|
|
138
|
+
description: "Filter |linebreaks",
|
|
139
|
+
prefix: "linebreaks",
|
|
140
|
+
body: "linebreaks"
|
|
141
|
+
};
|
|
142
|
+
var linebreaksbr = {
|
|
143
|
+
description: "Filter |linebreaksbr",
|
|
144
|
+
prefix: "linebreaksbr",
|
|
145
|
+
body: "linebreaksbr"
|
|
146
|
+
};
|
|
147
|
+
var safe = {
|
|
148
|
+
description: "Filter |safe",
|
|
149
|
+
prefix: "safe",
|
|
150
|
+
body: "safe"
|
|
151
|
+
};
|
|
152
|
+
var safeseq = {
|
|
153
|
+
description: "Filter |safeseq",
|
|
154
|
+
prefix: "safeseq",
|
|
155
|
+
body: "safeseq"
|
|
156
|
+
};
|
|
157
|
+
var striptags = {
|
|
158
|
+
description: "Filter |striptags",
|
|
159
|
+
prefix: "striptags",
|
|
160
|
+
body: "striptags"
|
|
161
|
+
};
|
|
162
|
+
var dictsort = {
|
|
163
|
+
description: "Filter |dictsort",
|
|
164
|
+
prefix: "dictsort",
|
|
165
|
+
body: "dictsort"
|
|
166
|
+
};
|
|
167
|
+
var dictsortreversed = {
|
|
168
|
+
description: "Filter |stuff:dictsortreversed",
|
|
169
|
+
prefix: "dictsortreversed",
|
|
170
|
+
body: "dictsortreversed"
|
|
171
|
+
};
|
|
172
|
+
var first = {
|
|
173
|
+
description: "Filter |first",
|
|
174
|
+
prefix: "first",
|
|
175
|
+
body: "first"
|
|
176
|
+
};
|
|
177
|
+
var last = {
|
|
178
|
+
description: "Filter |last",
|
|
179
|
+
prefix: "last",
|
|
180
|
+
body: "last"
|
|
181
|
+
};
|
|
182
|
+
var length = {
|
|
183
|
+
description: "Filter |length",
|
|
184
|
+
prefix: "length",
|
|
185
|
+
body: "length"
|
|
186
|
+
};
|
|
187
|
+
var length_is = {
|
|
188
|
+
description: "Filter |length_is",
|
|
189
|
+
prefix: "length_is",
|
|
190
|
+
body: "length_is"
|
|
191
|
+
};
|
|
192
|
+
var random = {
|
|
193
|
+
description: "Filter |random",
|
|
194
|
+
prefix: "random",
|
|
195
|
+
body: "random"
|
|
196
|
+
};
|
|
197
|
+
var slice = {
|
|
198
|
+
description: "Filter |slice",
|
|
199
|
+
prefix: "slice",
|
|
200
|
+
body: "slice"
|
|
201
|
+
};
|
|
202
|
+
var unordered_list = {
|
|
203
|
+
description: "Filter |unordered_list",
|
|
204
|
+
prefix: "unordered_list",
|
|
205
|
+
body: "unordered_list"
|
|
206
|
+
};
|
|
207
|
+
var add = {
|
|
208
|
+
description: "Filter |add",
|
|
209
|
+
prefix: "add",
|
|
210
|
+
body: "add"
|
|
211
|
+
};
|
|
212
|
+
var get_digit = {
|
|
213
|
+
description: "Filter |get_digit",
|
|
214
|
+
prefix: "get_digit",
|
|
215
|
+
body: "get_digit"
|
|
216
|
+
};
|
|
217
|
+
var date = {
|
|
218
|
+
description: "Filter |date",
|
|
219
|
+
prefix: "date",
|
|
220
|
+
body: "date"
|
|
221
|
+
};
|
|
222
|
+
var time = {
|
|
223
|
+
description: "Filter |time",
|
|
224
|
+
prefix: "time",
|
|
225
|
+
body: "time"
|
|
226
|
+
};
|
|
227
|
+
var timesince = {
|
|
228
|
+
description: "Filter |timesince",
|
|
229
|
+
prefix: "timesince",
|
|
230
|
+
body: "timesince"
|
|
231
|
+
};
|
|
232
|
+
var timeuntil = {
|
|
233
|
+
description: "Filter |timeuntil",
|
|
234
|
+
prefix: "timeuntil",
|
|
235
|
+
body: "timeuntil"
|
|
236
|
+
};
|
|
237
|
+
var default_if_none = {
|
|
238
|
+
description: "Filter |stuff:default_if_none",
|
|
239
|
+
prefix: "default_if_none",
|
|
240
|
+
body: "default_if_none"
|
|
241
|
+
};
|
|
242
|
+
var divisibleby = {
|
|
243
|
+
description: "Filter |divisibleby",
|
|
244
|
+
prefix: "divisibleby",
|
|
245
|
+
body: "divisibleby"
|
|
246
|
+
};
|
|
247
|
+
var yesno = {
|
|
248
|
+
description: "Filter |yesno",
|
|
249
|
+
prefix: "yesno",
|
|
250
|
+
body: "yesno"
|
|
251
|
+
};
|
|
252
|
+
var filesizeformat = {
|
|
253
|
+
description: "Filter |filesizeformat",
|
|
254
|
+
prefix: "filesizeformat",
|
|
255
|
+
body: "filesizeformat"
|
|
256
|
+
};
|
|
257
|
+
var pluralize = {
|
|
258
|
+
description: "Filter |pluralize",
|
|
259
|
+
prefix: "pluralize",
|
|
260
|
+
body: "pluralize"
|
|
261
|
+
};
|
|
262
|
+
var phone2numeric = {
|
|
263
|
+
description: "Filter |phone2numeric",
|
|
264
|
+
prefix: "phone2numeric",
|
|
265
|
+
body: "phone2numeric"
|
|
266
|
+
};
|
|
267
|
+
var pprint = {
|
|
268
|
+
description: "Filter |pprint",
|
|
269
|
+
prefix: "pprint",
|
|
270
|
+
body: "pprint"
|
|
271
|
+
};
|
|
272
|
+
var vscodeDjangoFilters = {
|
|
273
|
+
_comment: _comment,
|
|
274
|
+
join: join,
|
|
275
|
+
addslashes: addslashes,
|
|
276
|
+
capfirst: capfirst,
|
|
277
|
+
escapejs: escapejs,
|
|
278
|
+
floatformat: floatformat,
|
|
279
|
+
iriencode: iriencode,
|
|
280
|
+
linenumbers: linenumbers,
|
|
281
|
+
lower: lower,
|
|
282
|
+
make_list: make_list,
|
|
283
|
+
slugify: slugify,
|
|
284
|
+
stringformat: stringformat,
|
|
285
|
+
title: title,
|
|
286
|
+
truncatechars: truncatechars,
|
|
287
|
+
truncatechars_html: truncatechars_html,
|
|
288
|
+
truncatewords: truncatewords,
|
|
289
|
+
truncatewords_html: truncatewords_html,
|
|
290
|
+
upper: upper,
|
|
291
|
+
urlencode: urlencode,
|
|
292
|
+
urlize: urlize,
|
|
293
|
+
urlizetrunc: urlizetrunc,
|
|
294
|
+
wordcount: wordcount,
|
|
295
|
+
wordwrap: wordwrap,
|
|
296
|
+
ljust: ljust,
|
|
297
|
+
rjust: rjust,
|
|
298
|
+
center: center,
|
|
299
|
+
cut: cut,
|
|
300
|
+
"escape": {
|
|
301
|
+
description: "Filter |escape",
|
|
302
|
+
prefix: "escape",
|
|
303
|
+
body: "escape"
|
|
304
|
+
},
|
|
305
|
+
force_escape: force_escape,
|
|
306
|
+
linebreaks: linebreaks,
|
|
307
|
+
linebreaksbr: linebreaksbr,
|
|
308
|
+
safe: safe,
|
|
309
|
+
safeseq: safeseq,
|
|
310
|
+
striptags: striptags,
|
|
311
|
+
dictsort: dictsort,
|
|
312
|
+
dictsortreversed: dictsortreversed,
|
|
313
|
+
first: first,
|
|
314
|
+
last: last,
|
|
315
|
+
length: length,
|
|
316
|
+
length_is: length_is,
|
|
317
|
+
random: random,
|
|
318
|
+
slice: slice,
|
|
319
|
+
unordered_list: unordered_list,
|
|
320
|
+
add: add,
|
|
321
|
+
get_digit: get_digit,
|
|
322
|
+
date: date,
|
|
323
|
+
time: time,
|
|
324
|
+
timesince: timesince,
|
|
325
|
+
timeuntil: timeuntil,
|
|
326
|
+
"default": {
|
|
327
|
+
description: "Filter |default",
|
|
328
|
+
prefix: "default",
|
|
329
|
+
body: "default"
|
|
330
|
+
},
|
|
331
|
+
default_if_none: default_if_none,
|
|
332
|
+
divisibleby: divisibleby,
|
|
333
|
+
yesno: yesno,
|
|
334
|
+
filesizeformat: filesizeformat,
|
|
335
|
+
pluralize: pluralize,
|
|
336
|
+
phone2numeric: phone2numeric,
|
|
337
|
+
pprint: pprint
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
export { _comment, add, addslashes, capfirst, center, cut, date, vscodeDjangoFilters as default, default_if_none, dictsort, dictsortreversed, divisibleby, escapejs, filesizeformat, first, floatformat, force_escape, get_digit, iriencode, join, last, length, length_is, linebreaks, linebreaksbr, linenumbers, ljust, lower, make_list, phone2numeric, pluralize, pprint, random, rjust, safe, safeseq, slice, slugify, stringformat, striptags, time, timesince, timeuntil, title, truncatechars, truncatechars_html, truncatewords, truncatewords_html, unordered_list, upper, urlencode, urlize, urlizetrunc, wordcount, wordwrap, yesno };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var vscodeDjango = [
|
|
2
|
+
{
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "Django configuration",
|
|
5
|
+
"properties": {
|
|
6
|
+
"django.snippets.use": {
|
|
7
|
+
"type": "boolean",
|
|
8
|
+
"default": true,
|
|
9
|
+
"description": "Activates the Python snippets",
|
|
10
|
+
"scope": 3
|
|
11
|
+
},
|
|
12
|
+
"django.snippets.exclude": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"default": [
|
|
15
|
+
"cms",
|
|
16
|
+
"wagtail"
|
|
17
|
+
],
|
|
18
|
+
"description": "Exclude Python snippets by their file name. Can be 'import', 'postgres'...",
|
|
19
|
+
"scope": 3
|
|
20
|
+
},
|
|
21
|
+
"django.i18n": {
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"default": true,
|
|
24
|
+
"description": "Activates the i18n features for snippets (eg.: _(\"\"))",
|
|
25
|
+
"scope": 3
|
|
26
|
+
},
|
|
27
|
+
"django.showContributeNotification": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"default": true,
|
|
30
|
+
"description": "Seldom show notifications about this extension",
|
|
31
|
+
"scope": 3
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
export { vscodeDjango as default };
|
package/dist/vscode-python.js
CHANGED
|
@@ -43,7 +43,8 @@ var vscodePython = [
|
|
|
43
43
|
"items": {
|
|
44
44
|
"enum": [
|
|
45
45
|
"All",
|
|
46
|
-
"pythonSurveyNotification"
|
|
46
|
+
"pythonSurveyNotification",
|
|
47
|
+
"pythonPromptNewToolsExt"
|
|
47
48
|
]
|
|
48
49
|
},
|
|
49
50
|
"scope": 2,
|
|
@@ -55,7 +56,8 @@ var vscodePython = [
|
|
|
55
56
|
"items": {
|
|
56
57
|
"enum": [
|
|
57
58
|
"All",
|
|
58
|
-
"pythonSurveyNotification"
|
|
59
|
+
"pythonSurveyNotification",
|
|
60
|
+
"pythonPromptNewToolsExt"
|
|
59
61
|
]
|
|
60
62
|
},
|
|
61
63
|
"scope": 2,
|
|
@@ -536,12 +538,6 @@ var vscodePython = [
|
|
|
536
538
|
"scope": 6,
|
|
537
539
|
"type": "string"
|
|
538
540
|
},
|
|
539
|
-
"python.pylanceLspNotebooksEnabled": {
|
|
540
|
-
"type": "boolean",
|
|
541
|
-
"default": true,
|
|
542
|
-
"description": "Determines if Pylance's experimental LSP notebooks support is used or not.",
|
|
543
|
-
"scope": 2
|
|
544
|
-
},
|
|
545
541
|
"python.sortImports.args": {
|
|
546
542
|
"default": [],
|
|
547
543
|
"description": "Arguments passed in. Each argument is a separate item in the array.",
|
|
@@ -549,13 +545,15 @@ var vscodePython = [
|
|
|
549
545
|
"type": "string"
|
|
550
546
|
},
|
|
551
547
|
"scope": 4,
|
|
552
|
-
"type": "array"
|
|
548
|
+
"type": "array",
|
|
549
|
+
"deprecationMessage": "This setting will be removed soon. Use `isort.args` instead."
|
|
553
550
|
},
|
|
554
551
|
"python.sortImports.path": {
|
|
555
552
|
"default": "",
|
|
556
553
|
"description": "Path to isort script, default using inner version",
|
|
557
554
|
"scope": 6,
|
|
558
|
-
"type": "string"
|
|
555
|
+
"type": "string",
|
|
556
|
+
"deprecationMessage": "This setting will be removed soon. Use `isort.path` instead."
|
|
559
557
|
},
|
|
560
558
|
"python.tensorBoard.logDirectory": {
|
|
561
559
|
"default": "",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var $schema = "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:meta.tag -meta.attribute -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "source.vue#vue-directives"
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
var scopeName = "vue.directives";
|
|
11
|
+
var information_for_contributors = [
|
|
12
|
+
"This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/extensions/vscode-vue-language-features/",
|
|
13
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
14
|
+
"Once accepted there, we are happy to receive an update request."
|
|
15
|
+
];
|
|
16
|
+
var vueDirectives = {
|
|
17
|
+
$schema: $schema,
|
|
18
|
+
fileTypes: fileTypes,
|
|
19
|
+
injectionSelector: injectionSelector,
|
|
20
|
+
patterns: patterns,
|
|
21
|
+
scopeName: scopeName,
|
|
22
|
+
information_for_contributors: information_for_contributors
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { $schema, vueDirectives as default, fileTypes, information_for_contributors, injectionSelector, patterns, scopeName };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var $schema = "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "source.vue#vue-interpolations"
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
var scopeName = "vue.interpolations";
|
|
11
|
+
var information_for_contributors = [
|
|
12
|
+
"This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/extensions/vscode-vue-language-features/",
|
|
13
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
14
|
+
"Once accepted there, we are happy to receive an update request."
|
|
15
|
+
];
|
|
16
|
+
var vueInterpolations = {
|
|
17
|
+
$schema: $schema,
|
|
18
|
+
fileTypes: fileTypes,
|
|
19
|
+
injectionSelector: injectionSelector,
|
|
20
|
+
patterns: patterns,
|
|
21
|
+
scopeName: scopeName,
|
|
22
|
+
information_for_contributors: information_for_contributors
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { $schema, vueInterpolations as default, fileTypes, information_for_contributors, injectionSelector, patterns, scopeName };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
var $schema = "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
];
|
|
4
|
+
var injectionSelector = "L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment";
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#vue-sfc-style-variable-injection"
|
|
8
|
+
}
|
|
9
|
+
];
|
|
10
|
+
var repository = {
|
|
11
|
+
"vue-sfc-style-variable-injection": {
|
|
12
|
+
begin: "\\b(v-bind)\\s*\\(",
|
|
13
|
+
name: "vue.sfc.style.variable.injection.v-bind",
|
|
14
|
+
end: "\\)",
|
|
15
|
+
beginCaptures: {
|
|
16
|
+
"1": {
|
|
17
|
+
name: "entity.name.function"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
patterns: [
|
|
21
|
+
{
|
|
22
|
+
begin: "('|\")",
|
|
23
|
+
beginCaptures: {
|
|
24
|
+
"1": {
|
|
25
|
+
name: "punctuation.definition.tag.begin.html"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
end: "(\\1)",
|
|
29
|
+
endCaptures: {
|
|
30
|
+
"1": {
|
|
31
|
+
name: "punctuation.definition.tag.end.html"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
name: "source.ts.embedded.html.vue",
|
|
35
|
+
patterns: [
|
|
36
|
+
{
|
|
37
|
+
include: "source.js"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
include: "source.js"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
var scopeName = "vue.sfc.style.variable.injection";
|
|
48
|
+
var information_for_contributors = [
|
|
49
|
+
"This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/extensions/vscode-vue-language-features/",
|
|
50
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
51
|
+
"Once accepted there, we are happy to receive an update request."
|
|
52
|
+
];
|
|
53
|
+
var vueSfcStyleVariableInjection = {
|
|
54
|
+
$schema: $schema,
|
|
55
|
+
fileTypes: fileTypes,
|
|
56
|
+
injectionSelector: injectionSelector,
|
|
57
|
+
patterns: patterns,
|
|
58
|
+
repository: repository,
|
|
59
|
+
scopeName: scopeName,
|
|
60
|
+
information_for_contributors: information_for_contributors
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export { $schema, vueSfcStyleVariableInjection as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
|