@codingame/monaco-editor-wrapper 3.4.0 → 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.
- package/dist/{HTML (Eex).js → HTML (Eex)2.js} +0 -0
- package/dist/atd.js +90 -94
- package/dist/atd2.js +94 -90
- package/dist/css.worker.js +1 -1
- package/dist/d.js +3157 -84
- package/dist/d2.js +84 -3157
- package/dist/dart.js +510 -83
- package/dist/dart2.js +83 -510
- package/dist/diet.js +740 -82
- package/dist/diet2.js +82 -740
- package/dist/dml.js +155 -76
- package/dist/dml2.js +76 -155
- package/dist/dune-project.js +469 -53
- package/dist/dune-project2.js +53 -469
- package/dist/dune-workspace.js +287 -54
- package/dist/dune-workspace2.js +54 -287
- package/dist/dune.js +2948 -51
- package/dist/dune2.js +51 -2948
- package/dist/elixir.js +2335 -63
- package/dist/elixir2.js +63 -2335
- package/dist/features/cssContribution.js +1 -4
- package/dist/features/extensionConfigurations.js +24 -122
- package/dist/features/htmlContribution.js +4 -18
- package/dist/features/jsonContribution.js +1 -8
- package/dist/features/typescriptContribution.js +4 -8
- package/dist/{html (eex)2.js → html (eex).js} +0 -0
- package/dist/html.worker.js +1 -1
- package/dist/index.js +2178 -1355
- package/dist/index2.js +1354 -2186
- package/dist/json.worker.js +1 -1
- package/dist/main.js +282 -1427
- package/dist/ocaml.interface.js +273 -95
- package/dist/ocaml.interface2.js +95 -273
- package/dist/ocaml.js +884 -95
- package/dist/ocaml2.js +95 -884
- package/dist/r.js +657 -81
- package/dist/r2.js +81 -657
- package/dist/sdl.js +150 -78
- package/dist/sdl2.js +78 -150
- package/dist/solidity.js +1172 -56
- package/dist/solidity2.js +56 -1172
- package/dist/ts.worker.js +1 -1
- package/dist/vim.js +8 -8
- package/dist/vue-sugarss.js +390 -54
- package/dist/vue-sugarss2.js +54 -390
- package/dist/worker.js +1 -3
- package/package.json +29 -26
- package/stats.html +44 -34
package/dist/vim.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as getAugmentedNamespace, r as require$$0 } from './_monaco-editor_commonjs-external.js';
|
|
2
2
|
import * as shiftCommand from 'monaco-editor/esm/vs/editor/common/commands/shiftCommand';
|
|
3
3
|
import { configurationRegistry, ConfigurationScope } from 'vscode/service-override/configuration';
|
|
4
|
-
import { o as onConfigurationChanged, g as getConfiguration } from './
|
|
4
|
+
import { o as onConfigurationChanged, g as getConfiguration } from './index2.js';
|
|
5
5
|
import 'monaco-editor/esm/vs/editor/editor.api';
|
|
6
6
|
import 'vscode/services';
|
|
7
7
|
|
|
@@ -2755,6 +2755,10 @@ var require$$1 = /*@__PURE__*/getAugmentedNamespace(shiftCommand);
|
|
|
2755
2755
|
return key.charAt(1);
|
|
2756
2756
|
}
|
|
2757
2757
|
|
|
2758
|
+
if (key === "AltGraph") {
|
|
2759
|
+
return false;
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2758
2762
|
var pieces = key.split(/-(?!$)/);
|
|
2759
2763
|
var lastPiece = pieces[pieces.length - 1];
|
|
2760
2764
|
|
|
@@ -5017,7 +5021,7 @@ var require$$1 = /*@__PURE__*/getAugmentedNamespace(shiftCommand);
|
|
|
5017
5021
|
head.line--;
|
|
5018
5022
|
cm.setSelection(anchor, head);
|
|
5019
5023
|
text = cm.getSelection();
|
|
5020
|
-
cm.
|
|
5024
|
+
cm.replaceSelections("");
|
|
5021
5025
|
finalHead = anchor;
|
|
5022
5026
|
} else {
|
|
5023
5027
|
text = cm.getSelection();
|
|
@@ -9283,7 +9287,8 @@ var require$$1 = /*@__PURE__*/getAugmentedNamespace(shiftCommand);
|
|
|
9283
9287
|
if (change instanceof InsertModeKey) {
|
|
9284
9288
|
_cm_adapter["default"].lookupKey(change.keyName, "vim-insert", keyHandler);
|
|
9285
9289
|
} else if (typeof change == "string") {
|
|
9286
|
-
cm
|
|
9290
|
+
window.cm = cm;
|
|
9291
|
+
cm.replaceSelections(change);
|
|
9287
9292
|
} else {
|
|
9288
9293
|
var start = cm.getCursor();
|
|
9289
9294
|
var end = offsetCursor(start, 0, change[0].length);
|
|
@@ -9656,7 +9661,6 @@ configurationRegistry.registerConfiguration({
|
|
|
9656
9661
|
}
|
|
9657
9662
|
}
|
|
9658
9663
|
});
|
|
9659
|
-
|
|
9660
9664
|
function mapVimKeyBindings(keybindingConfig, mode) {
|
|
9661
9665
|
if (keybindingConfig != null) {
|
|
9662
9666
|
for (const item of keybindingConfig) {
|
|
@@ -9666,7 +9670,6 @@ function mapVimKeyBindings(keybindingConfig, mode) {
|
|
|
9666
9670
|
}
|
|
9667
9671
|
}
|
|
9668
9672
|
}
|
|
9669
|
-
|
|
9670
9673
|
function unmapVimKeyBindings(keybindingConfig, mode) {
|
|
9671
9674
|
if (keybindingConfig != null) {
|
|
9672
9675
|
for (const item of keybindingConfig) {
|
|
@@ -9676,16 +9679,13 @@ function unmapVimKeyBindings(keybindingConfig, mode) {
|
|
|
9676
9679
|
}
|
|
9677
9680
|
}
|
|
9678
9681
|
}
|
|
9679
|
-
|
|
9680
9682
|
let unmapPrevious = () => {};
|
|
9681
|
-
|
|
9682
9683
|
onConfigurationChanged(() => {
|
|
9683
9684
|
unmapPrevious();
|
|
9684
9685
|
const config = getConfiguration(undefined, 'vim');
|
|
9685
9686
|
mapVimKeyBindings(config === null || config === void 0 ? void 0 : config.insertModeKeyBindings, 'insert');
|
|
9686
9687
|
mapVimKeyBindings(config === null || config === void 0 ? void 0 : config.normalModeKeyBindings, 'normal');
|
|
9687
9688
|
mapVimKeyBindings(config === null || config === void 0 ? void 0 : config.visualModeKeyBindings, 'visual');
|
|
9688
|
-
|
|
9689
9689
|
unmapPrevious = () => {
|
|
9690
9690
|
unmapVimKeyBindings(config === null || config === void 0 ? void 0 : config.insertModeKeyBindings, 'insert');
|
|
9691
9691
|
unmapVimKeyBindings(config === null || config === void 0 ? void 0 : config.normalModeKeyBindings, 'normal');
|
package/dist/vue-sugarss.js
CHANGED
|
@@ -1,60 +1,396 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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 {
|
|
396
|
+
export { vueSugarss as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, repository, scopeName, uuid };
|