github-linguist 7.4.0 → 7.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/grammars/annotation.liquidhaskell.haskell.json +15 -4
- data/grammars/hint.haskell.json +15 -4
- data/grammars/hint.message.haskell.json +15 -4
- data/grammars/hint.type.haskell.json +15 -4
- data/grammars/source.abap.json +14 -3
- data/grammars/source.apl.json +19 -2
- data/grammars/source.ats.json +17 -87
- data/grammars/source.ballerina.json +14 -19
- data/grammars/source.crystal.json +14 -2
- data/grammars/source.csound.json +37 -0
- data/grammars/source.css.json +25 -1
- data/grammars/source.css.scss.json +1724 -0
- data/grammars/source.gf.json +51 -0
- data/grammars/source.glsl.json +1 -1
- data/grammars/source.hack.json +2523 -0
- data/grammars/source.haskell.json +15 -4
- data/grammars/source.hc.json +709 -0
- data/grammars/source.hsig.json +15 -4
- data/grammars/source.hx.json +10 -6
- data/grammars/source.jolie.json +1 -1
- data/grammars/source.julia.json +114 -6
- data/grammars/source.m68k.json +412 -0
- data/grammars/source.mcfunction.json +62 -18
- data/grammars/source.objectscript.json +309 -0
- data/grammars/source.objectscript_class.json +674 -0
- data/grammars/source.objectscript_csp.json +19 -0
- data/grammars/source.objectscript_macros.json +226 -0
- data/grammars/source.powershell.json +21 -57
- data/grammars/source.rust.json +1 -1
- data/grammars/source.sass.json +836 -142
- data/grammars/source.sassdoc.json +346 -0
- data/grammars/source.scala.json +110 -10
- data/grammars/source.sqf.json +2 -1
- data/grammars/source.svelte.json +827 -0
- data/grammars/source.ts.json +8 -4
- data/grammars/source.tsql.json +507 -0
- data/grammars/source.tsx.json +8 -4
- data/grammars/source.viml.json +1 -1
- data/grammars/source.vtt.json +702 -0
- data/grammars/source.wollok.json +100 -0
- data/grammars/source.xojo.json +85 -0
- data/grammars/source.yara.json +3 -2
- data/grammars/source.zeek.json +412 -0
- data/grammars/source.zenscript.json +282 -0
- data/grammars/source.zig.json +2 -11
- data/grammars/text.haml.json +1 -1
- data/grammars/text.html.php.blade.json +3 -3
- data/grammars/text.html.vue.json +41 -1
- data/grammars/text.slim.json +1 -1
- data/grammars/text.tex.latex.haskell.json +15 -4
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +5 -10
- data/lib/linguist/generated.rb +10 -2
- data/lib/linguist/heuristics.yml +14 -3
- data/lib/linguist/language.rb +3 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +151 -16
- data/lib/linguist/samples.json +9844 -1711
- data/lib/linguist/samples.rb +8 -5
- data/lib/linguist/shebang.rb +6 -0
- data/lib/linguist/vendor.yml +3 -0
- metadata +25 -10
- data/grammars/source.bro.json +0 -403
- data/grammars/source.scss.json +0 -1287
data/grammars/source.scss.json
DELETED
@@ -1,1287 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "SCSS",
|
3
|
-
"scopeName": "source.scss",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"include": "#variable_setting"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"include": "#at_rule_include"
|
10
|
-
},
|
11
|
-
{
|
12
|
-
"include": "#at_rule_import"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"include": "#general"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"include": "#flow_control"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"include": "#rules"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"include": "#property_list"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"include": "#at_rule_mixin"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"include": "#at_rule_media"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"include": "#at_rule_function"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"include": "#at_rule_charset"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"include": "#at_rule_option"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"include": "#at_rule_namespace"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"include": "#at_rule_fontface"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"include": "#at_rule_page"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"include": "#at_rule_keyframes"
|
52
|
-
}
|
53
|
-
],
|
54
|
-
"repository": {
|
55
|
-
"at_rule__": {},
|
56
|
-
"at_rule_charset": {
|
57
|
-
"name": "meta.at-rule.charset.scss",
|
58
|
-
"begin": "\\s*((@)charset\\b)\\s*",
|
59
|
-
"end": "\\s*((?=;|$))",
|
60
|
-
"patterns": [
|
61
|
-
{
|
62
|
-
"include": "#variable"
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"include": "#string_single"
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"include": "#string_double"
|
69
|
-
}
|
70
|
-
],
|
71
|
-
"captures": {
|
72
|
-
"1": {
|
73
|
-
"name": "keyword.control.at-rule.charset.scss"
|
74
|
-
},
|
75
|
-
"2": {
|
76
|
-
"name": "punctuation.definition.keyword.scss"
|
77
|
-
}
|
78
|
-
}
|
79
|
-
},
|
80
|
-
"at_rule_content": {
|
81
|
-
"name": "meta.content.scss",
|
82
|
-
"begin": "\\s*((@)content\\b)\\s*",
|
83
|
-
"end": "\\s*((?=;))",
|
84
|
-
"patterns": [
|
85
|
-
{
|
86
|
-
"include": "#variable"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"include": "#selectors"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"include": "#property_values"
|
93
|
-
}
|
94
|
-
],
|
95
|
-
"captures": {
|
96
|
-
"1": {
|
97
|
-
"name": "keyword.control.content.scss"
|
98
|
-
}
|
99
|
-
}
|
100
|
-
},
|
101
|
-
"at_rule_each": {
|
102
|
-
"name": "meta.at-rule.each.scss",
|
103
|
-
"begin": "\\s*((@)each\\b)\\s*",
|
104
|
-
"end": "\\s*((?=\\}))",
|
105
|
-
"patterns": [
|
106
|
-
{
|
107
|
-
"name": "keyword.control.operator",
|
108
|
-
"match": "\\b(in|\\,)\\b"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"include": "#variable"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"include": "#property_values"
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"include": "$self"
|
118
|
-
}
|
119
|
-
],
|
120
|
-
"captures": {
|
121
|
-
"1": {
|
122
|
-
"name": "keyword.control.each.scss"
|
123
|
-
},
|
124
|
-
"2": {
|
125
|
-
"name": "punctuation.definition.keyword.scss"
|
126
|
-
}
|
127
|
-
}
|
128
|
-
},
|
129
|
-
"at_rule_else": {
|
130
|
-
"name": "meta.at-rule.else.scss",
|
131
|
-
"begin": "\\s*((@)else(\\s*(if)?))\\s*",
|
132
|
-
"end": "\\s*(?=\\{)",
|
133
|
-
"patterns": [
|
134
|
-
{
|
135
|
-
"include": "#logical_operators"
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"include": "#variable"
|
139
|
-
},
|
140
|
-
{
|
141
|
-
"include": "#property_values"
|
142
|
-
}
|
143
|
-
],
|
144
|
-
"captures": {
|
145
|
-
"1": {
|
146
|
-
"name": "keyword.control.else.scss"
|
147
|
-
},
|
148
|
-
"2": {
|
149
|
-
"name": "punctuation.definition.keyword.scss"
|
150
|
-
}
|
151
|
-
}
|
152
|
-
},
|
153
|
-
"at_rule_extend": {
|
154
|
-
"name": "meta.at-rule.import.scss",
|
155
|
-
"begin": "\\s*((@)extend\\b)\\s*",
|
156
|
-
"end": "\\s*(?=\\;)",
|
157
|
-
"patterns": [
|
158
|
-
{
|
159
|
-
"include": "#variable"
|
160
|
-
},
|
161
|
-
{
|
162
|
-
"include": "#selectors"
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"include": "#property_values"
|
166
|
-
}
|
167
|
-
],
|
168
|
-
"captures": {
|
169
|
-
"1": {
|
170
|
-
"name": "keyword.control.at-rule.import.scss"
|
171
|
-
},
|
172
|
-
"2": {
|
173
|
-
"name": "punctuation.definition.keyword.scss"
|
174
|
-
}
|
175
|
-
}
|
176
|
-
},
|
177
|
-
"at_rule_fontface": {
|
178
|
-
"patterns": [
|
179
|
-
{
|
180
|
-
"name": "meta.at-rule.fontface.scss",
|
181
|
-
"begin": "^\\s*((@)font-face)\\s*(?=\\{)",
|
182
|
-
"end": "\\s*(?=\\{)",
|
183
|
-
"patterns": [
|
184
|
-
{
|
185
|
-
"include": "#function_attributes"
|
186
|
-
}
|
187
|
-
],
|
188
|
-
"beginCaptures": {
|
189
|
-
"1": {
|
190
|
-
"name": "keyword.control.at-rule.fontface.scss"
|
191
|
-
},
|
192
|
-
"2": {
|
193
|
-
"name": "punctuation.definition.keyword.scss"
|
194
|
-
}
|
195
|
-
}
|
196
|
-
}
|
197
|
-
]
|
198
|
-
},
|
199
|
-
"at_rule_for": {
|
200
|
-
"name": "meta.at-rule.for.scss",
|
201
|
-
"begin": "\\s*((@)for\\b)\\s*",
|
202
|
-
"end": "\\s*(?=\\{)",
|
203
|
-
"patterns": [
|
204
|
-
{
|
205
|
-
"name": "keyword.control.operator",
|
206
|
-
"match": "(\\=\\=|\\!\\=|\\\u003c\\=|\\\u003e\\=|\\\u003c|\\\u003e|from|through)"
|
207
|
-
},
|
208
|
-
{
|
209
|
-
"include": "#variable"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"include": "#property_values"
|
213
|
-
},
|
214
|
-
{
|
215
|
-
"include": "$self"
|
216
|
-
}
|
217
|
-
],
|
218
|
-
"captures": {
|
219
|
-
"1": {
|
220
|
-
"name": "keyword.control.for.scss"
|
221
|
-
},
|
222
|
-
"2": {
|
223
|
-
"name": "punctuation.definition.keyword.scss"
|
224
|
-
}
|
225
|
-
}
|
226
|
-
},
|
227
|
-
"at_rule_function": {
|
228
|
-
"patterns": [
|
229
|
-
{
|
230
|
-
"name": "meta.at-rule.function.scss",
|
231
|
-
"begin": "\\s*((@)function\\b)\\s*",
|
232
|
-
"end": "\\s*(?=\\{)",
|
233
|
-
"patterns": [
|
234
|
-
{
|
235
|
-
"include": "#function_attributes"
|
236
|
-
}
|
237
|
-
],
|
238
|
-
"captures": {
|
239
|
-
"1": {
|
240
|
-
"name": "keyword.control.at-rule.function.scss"
|
241
|
-
},
|
242
|
-
"2": {
|
243
|
-
"name": "punctuation.definition.keyword.scss"
|
244
|
-
},
|
245
|
-
"3": {
|
246
|
-
"name": "entity.name.function.scss"
|
247
|
-
}
|
248
|
-
}
|
249
|
-
},
|
250
|
-
{
|
251
|
-
"name": "meta.at-rule.function.scss",
|
252
|
-
"match": "\\s*((@)function\\b)\\s*",
|
253
|
-
"captures": {
|
254
|
-
"1": {
|
255
|
-
"name": "keyword.control.at-rule.function.scss"
|
256
|
-
},
|
257
|
-
"2": {
|
258
|
-
"name": "punctuation.definition.keyword.scss"
|
259
|
-
},
|
260
|
-
"3": {
|
261
|
-
"name": "entity.name.function.scss"
|
262
|
-
}
|
263
|
-
}
|
264
|
-
}
|
265
|
-
]
|
266
|
-
},
|
267
|
-
"at_rule_if": {
|
268
|
-
"name": "meta.at-rule.if.scss",
|
269
|
-
"begin": "\\s*((@)if\\b)\\s*",
|
270
|
-
"end": "\\s*(?=\\{)",
|
271
|
-
"patterns": [
|
272
|
-
{
|
273
|
-
"include": "#logical_operators"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"include": "#variable"
|
277
|
-
},
|
278
|
-
{
|
279
|
-
"include": "#property_values"
|
280
|
-
}
|
281
|
-
],
|
282
|
-
"captures": {
|
283
|
-
"1": {
|
284
|
-
"name": "keyword.control.if.scss"
|
285
|
-
},
|
286
|
-
"2": {
|
287
|
-
"name": "punctuation.definition.keyword.scss"
|
288
|
-
}
|
289
|
-
}
|
290
|
-
},
|
291
|
-
"at_rule_import": {
|
292
|
-
"name": "meta.at-rule.import.scss",
|
293
|
-
"begin": "\\s*((@)import\\b)\\s*",
|
294
|
-
"end": "\\s*((?=;|\\}))",
|
295
|
-
"patterns": [
|
296
|
-
{
|
297
|
-
"include": "#string-double"
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"include": "#string-single"
|
301
|
-
},
|
302
|
-
{
|
303
|
-
"begin": "\\s*(url)?\\s*(?:\\(|\"|')\\s*",
|
304
|
-
"end": "\\s*(?:\"|'|\\))\\s*",
|
305
|
-
"patterns": [
|
306
|
-
{
|
307
|
-
"name": "variable.parameter.url.css",
|
308
|
-
"match": "[^'\") \\t]+"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"include": "#string-single"
|
312
|
-
},
|
313
|
-
{
|
314
|
-
"include": "#string-double"
|
315
|
-
}
|
316
|
-
],
|
317
|
-
"beginCaptures": {
|
318
|
-
"1": {
|
319
|
-
"name": "support.function.url.css"
|
320
|
-
},
|
321
|
-
"2": {
|
322
|
-
"name": "punctuation.section.function.css"
|
323
|
-
}
|
324
|
-
},
|
325
|
-
"endCaptures": {
|
326
|
-
"1": {
|
327
|
-
"name": "punctuation.section.function.css"
|
328
|
-
}
|
329
|
-
}
|
330
|
-
},
|
331
|
-
{
|
332
|
-
"include": "#media-query-list"
|
333
|
-
}
|
334
|
-
],
|
335
|
-
"captures": {
|
336
|
-
"1": {
|
337
|
-
"name": "keyword.control.at-rule.import.scss"
|
338
|
-
},
|
339
|
-
"2": {
|
340
|
-
"name": "punctuation.definition.keyword.scss"
|
341
|
-
}
|
342
|
-
}
|
343
|
-
},
|
344
|
-
"at_rule_include": {
|
345
|
-
"patterns": [
|
346
|
-
{
|
347
|
-
"name": "meta.at-rule.include.scss",
|
348
|
-
"begin": "\\s*((@)include\\b)\\s*",
|
349
|
-
"end": "\\s*[\\)|\\s\\;]",
|
350
|
-
"patterns": [
|
351
|
-
{
|
352
|
-
"include": "#function_attributes"
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"include": "#functions"
|
356
|
-
}
|
357
|
-
],
|
358
|
-
"captures": {
|
359
|
-
"1": {
|
360
|
-
"name": "keyword.control.at-rule.include.scss"
|
361
|
-
},
|
362
|
-
"2": {
|
363
|
-
"name": "punctuation.definition.keyword.scss"
|
364
|
-
},
|
365
|
-
"3": {
|
366
|
-
"name": "entity.name.function.scss"
|
367
|
-
},
|
368
|
-
"4": {
|
369
|
-
"name": "entity.name.text.scss"
|
370
|
-
}
|
371
|
-
}
|
372
|
-
}
|
373
|
-
]
|
374
|
-
},
|
375
|
-
"at_rule_keyframes": {
|
376
|
-
"patterns": [
|
377
|
-
{
|
378
|
-
"name": "meta.at-rule.keyframes.scss",
|
379
|
-
"begin": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)",
|
380
|
-
"end": "\\s*(?=\\{)",
|
381
|
-
"patterns": [
|
382
|
-
{
|
383
|
-
"include": "#function_attributes"
|
384
|
-
}
|
385
|
-
],
|
386
|
-
"captures": {
|
387
|
-
"1": {
|
388
|
-
"name": "keyword.control.at-rule.keyframes.scss"
|
389
|
-
},
|
390
|
-
"2": {
|
391
|
-
"name": "punctuation.definition.keyword.scss"
|
392
|
-
},
|
393
|
-
"3": {
|
394
|
-
"name": "punctuation.definition.keyword.scss"
|
395
|
-
},
|
396
|
-
"4": {
|
397
|
-
"name": "entity.name.function.scss"
|
398
|
-
}
|
399
|
-
}
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"name": "meta.at-rule.keyframes.scss",
|
403
|
-
"match": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)",
|
404
|
-
"captures": {
|
405
|
-
"1": {
|
406
|
-
"name": "keyword.control.at-rule.keyframes.scss"
|
407
|
-
},
|
408
|
-
"2": {
|
409
|
-
"name": "punctuation.definition.keyword.scss"
|
410
|
-
},
|
411
|
-
"3": {
|
412
|
-
"name": "punctuation.definition.keyword.scss"
|
413
|
-
},
|
414
|
-
"4": {
|
415
|
-
"name": "entity.name.function.scss"
|
416
|
-
}
|
417
|
-
}
|
418
|
-
}
|
419
|
-
]
|
420
|
-
},
|
421
|
-
"at_rule_media": {
|
422
|
-
"patterns": [
|
423
|
-
{
|
424
|
-
"name": "meta.at-rule.media.scss",
|
425
|
-
"begin": "\\s*(?=^\\s*@media\\s*.*?\\{)",
|
426
|
-
"end": "\\s*(?=\\{)",
|
427
|
-
"patterns": [
|
428
|
-
{
|
429
|
-
"include": "#function_attributes"
|
430
|
-
},
|
431
|
-
{
|
432
|
-
"include": "#functions"
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"include": "#logical_operators"
|
436
|
-
}
|
437
|
-
],
|
438
|
-
"captures": {
|
439
|
-
"1": {
|
440
|
-
"name": "keyword.control.at-rule.media.scss"
|
441
|
-
},
|
442
|
-
"2": {
|
443
|
-
"name": "punctuation.definition.keyword.scss"
|
444
|
-
},
|
445
|
-
"3": {
|
446
|
-
"name": "support.constant.media.scss"
|
447
|
-
}
|
448
|
-
}
|
449
|
-
}
|
450
|
-
]
|
451
|
-
},
|
452
|
-
"at_rule_mixin": {
|
453
|
-
"patterns": [
|
454
|
-
{
|
455
|
-
"name": "meta.at-rule.mixin.scss",
|
456
|
-
"begin": "\\s*((@)mixin) ([\\w-]*)\\s*\\(",
|
457
|
-
"end": "\\)",
|
458
|
-
"patterns": [
|
459
|
-
{
|
460
|
-
"include": "#function_attributes"
|
461
|
-
}
|
462
|
-
],
|
463
|
-
"captures": {
|
464
|
-
"1": {
|
465
|
-
"name": "keyword.control.at-rule.mixin.scss"
|
466
|
-
},
|
467
|
-
"2": {
|
468
|
-
"name": "punctuation.definition.keyword.scss"
|
469
|
-
},
|
470
|
-
"3": {
|
471
|
-
"name": "entity.name.function.scss"
|
472
|
-
}
|
473
|
-
}
|
474
|
-
},
|
475
|
-
{
|
476
|
-
"name": "meta.at-rule.mixin.scss",
|
477
|
-
"match": "^\\s*((@)mixin) ([\\w-]{1,})",
|
478
|
-
"captures": {
|
479
|
-
"1": {
|
480
|
-
"name": "keyword.control.at-rule.mixin.scss"
|
481
|
-
},
|
482
|
-
"2": {
|
483
|
-
"name": "punctuation.definition.keyword.scss"
|
484
|
-
},
|
485
|
-
"3": {
|
486
|
-
"name": "entity.name.function.scss"
|
487
|
-
}
|
488
|
-
}
|
489
|
-
}
|
490
|
-
]
|
491
|
-
},
|
492
|
-
"at_rule_namespace": {
|
493
|
-
"name": "meta.at-rule.namespace.scss",
|
494
|
-
"begin": "\\s*((@)namespace) ([\\w-]*)\\s*",
|
495
|
-
"end": "\\s*((;)|(?=\\}))$",
|
496
|
-
"patterns": [
|
497
|
-
{
|
498
|
-
"include": "#variable"
|
499
|
-
},
|
500
|
-
{
|
501
|
-
"include": "#string_single"
|
502
|
-
},
|
503
|
-
{
|
504
|
-
"include": "#string_double"
|
505
|
-
}
|
506
|
-
],
|
507
|
-
"captures": {
|
508
|
-
"1": {
|
509
|
-
"name": "keyword.control.at-rule.import.scss"
|
510
|
-
},
|
511
|
-
"2": {
|
512
|
-
"name": "punctuation.definition.keyword.scss"
|
513
|
-
},
|
514
|
-
"3": {
|
515
|
-
"name": "entity.name.function.scss"
|
516
|
-
}
|
517
|
-
}
|
518
|
-
},
|
519
|
-
"at_rule_option": {
|
520
|
-
"name": "meta.at-rule.option.scss",
|
521
|
-
"match": "^\\s*((@)option\\b)\\s*",
|
522
|
-
"captures": {
|
523
|
-
"1": {
|
524
|
-
"name": "keyword.control.at-rule.charset.scss"
|
525
|
-
},
|
526
|
-
"2": {
|
527
|
-
"name": "punctuation.definition.keyword.scss"
|
528
|
-
}
|
529
|
-
}
|
530
|
-
},
|
531
|
-
"at_rule_page": {
|
532
|
-
"patterns": [
|
533
|
-
{
|
534
|
-
"name": "meta.at-rule.fontface.scss",
|
535
|
-
"begin": "^\\s*((@)page) ([\\w-]*)",
|
536
|
-
"patterns": [
|
537
|
-
{
|
538
|
-
"include": "#function_attributes"
|
539
|
-
}
|
540
|
-
],
|
541
|
-
"captures": {
|
542
|
-
"1": {
|
543
|
-
"name": "keyword.control.at-rule.fontface.scss"
|
544
|
-
},
|
545
|
-
"2": {
|
546
|
-
"name": "punctuation.definition.keyword.scss"
|
547
|
-
},
|
548
|
-
"3": {
|
549
|
-
"name": "entity.name.function.scss"
|
550
|
-
}
|
551
|
-
}
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"name": "meta.at-rule.mixin.scss",
|
555
|
-
"match": "^\\s*((@)page) ([\\w-]{1,})",
|
556
|
-
"captures": {
|
557
|
-
"1": {
|
558
|
-
"name": "keyword.control.at-rule.mixin.scss"
|
559
|
-
},
|
560
|
-
"2": {
|
561
|
-
"name": "punctuation.definition.keyword.scss"
|
562
|
-
},
|
563
|
-
"3": {
|
564
|
-
"name": "entity.name.function.scss"
|
565
|
-
}
|
566
|
-
}
|
567
|
-
}
|
568
|
-
]
|
569
|
-
},
|
570
|
-
"at_rule_return": {
|
571
|
-
"name": "meta.at-rule.return.scss",
|
572
|
-
"begin": "\\s*((@)(return)\\b)",
|
573
|
-
"end": "\\s*((?=;))",
|
574
|
-
"patterns": [
|
575
|
-
{
|
576
|
-
"include": "#variable"
|
577
|
-
},
|
578
|
-
{
|
579
|
-
"include": "#property_values"
|
580
|
-
}
|
581
|
-
],
|
582
|
-
"captures": {
|
583
|
-
"1": {
|
584
|
-
"name": "keyword.control.return.scss"
|
585
|
-
},
|
586
|
-
"2": {
|
587
|
-
"name": "punctuation.definition.keyword.scss"
|
588
|
-
}
|
589
|
-
}
|
590
|
-
},
|
591
|
-
"at_rule_warn": {
|
592
|
-
"name": "meta.at-rule.warn.scss",
|
593
|
-
"begin": "\\s*((@)(warn|debug)\\b)\\s*",
|
594
|
-
"end": "\\s*(?=\\;)",
|
595
|
-
"patterns": [
|
596
|
-
{
|
597
|
-
"include": "#variable"
|
598
|
-
},
|
599
|
-
{
|
600
|
-
"include": "#string_double"
|
601
|
-
},
|
602
|
-
{
|
603
|
-
"include": "#string_single"
|
604
|
-
}
|
605
|
-
],
|
606
|
-
"captures": {
|
607
|
-
"1": {
|
608
|
-
"name": "keyword.control.warn.scss"
|
609
|
-
},
|
610
|
-
"2": {
|
611
|
-
"name": "punctuation.definition.keyword.scss"
|
612
|
-
}
|
613
|
-
}
|
614
|
-
},
|
615
|
-
"at_rule_while": {
|
616
|
-
"name": "meta.at-rule.while.scss",
|
617
|
-
"begin": "\\s*((@)while\\b)\\s*",
|
618
|
-
"end": "\\s*(?=\\})",
|
619
|
-
"patterns": [
|
620
|
-
{
|
621
|
-
"include": "#logical_operators"
|
622
|
-
},
|
623
|
-
{
|
624
|
-
"include": "#variable"
|
625
|
-
},
|
626
|
-
{
|
627
|
-
"include": "#property_values"
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"include": "$self"
|
631
|
-
}
|
632
|
-
],
|
633
|
-
"captures": {
|
634
|
-
"1": {
|
635
|
-
"name": "keyword.control.while.scss"
|
636
|
-
},
|
637
|
-
"2": {
|
638
|
-
"name": "punctuation.definition.keyword.scss"
|
639
|
-
}
|
640
|
-
}
|
641
|
-
},
|
642
|
-
"comment_block": {
|
643
|
-
"name": "comment.block.scss",
|
644
|
-
"begin": "\\s*/\\*\\s*",
|
645
|
-
"end": "(\\*/)\\s*",
|
646
|
-
"captures": {
|
647
|
-
"0": {
|
648
|
-
"name": "punctuation.whitespace.comment.trailing.scss"
|
649
|
-
}
|
650
|
-
}
|
651
|
-
},
|
652
|
-
"comment_line": {
|
653
|
-
"name": "comment.line.scss",
|
654
|
-
"begin": "(\\s*)//",
|
655
|
-
"end": "$(\\s*)"
|
656
|
-
},
|
657
|
-
"constant_color": {
|
658
|
-
"name": "support.constant.color.w3c-standard-color-name.scss",
|
659
|
-
"match": "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b"
|
660
|
-
},
|
661
|
-
"constant_default": {
|
662
|
-
"name": "keyword.other.default.scss",
|
663
|
-
"match": "\\!default"
|
664
|
-
},
|
665
|
-
"constant_deprecated_color": {
|
666
|
-
"name": "invalid.deprecated.color.w3c-non-standard-color-name.scss",
|
667
|
-
"match": "\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\b"
|
668
|
-
},
|
669
|
-
"constant_font": {
|
670
|
-
"name": "support.constant.font-name.scss",
|
671
|
-
"match": "(\\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\\b)"
|
672
|
-
},
|
673
|
-
"constant_functions": {
|
674
|
-
"begin": "([\\w-]+)\\s*(\\()",
|
675
|
-
"end": "(\\))",
|
676
|
-
"patterns": [
|
677
|
-
{
|
678
|
-
"include": "#parameters"
|
679
|
-
}
|
680
|
-
],
|
681
|
-
"beginCaptures": {
|
682
|
-
"1": {
|
683
|
-
"name": "support.function.misc.scss"
|
684
|
-
},
|
685
|
-
"2": {
|
686
|
-
"name": "punctuation.section.function.scss"
|
687
|
-
}
|
688
|
-
},
|
689
|
-
"endCaptures": {
|
690
|
-
"1": {
|
691
|
-
"name": "punctuation.section.function.scss"
|
692
|
-
}
|
693
|
-
}
|
694
|
-
},
|
695
|
-
"constant_hex": {
|
696
|
-
"name": "constant.other.color.rgb-value.scss",
|
697
|
-
"match": "#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
698
|
-
"captures": {
|
699
|
-
"1": {
|
700
|
-
"name": "punctuation.definition.constant.scss"
|
701
|
-
}
|
702
|
-
}
|
703
|
-
},
|
704
|
-
"constant_important": {
|
705
|
-
"name": "keyword.other.important.scss",
|
706
|
-
"match": "\\!important"
|
707
|
-
},
|
708
|
-
"constant_mathematical_symbols": {
|
709
|
-
"name": "support.constant.mathematical-symbols.scss",
|
710
|
-
"match": "(\\b(\\+|\\-|\\*|/)\\b)"
|
711
|
-
},
|
712
|
-
"constant_number": {
|
713
|
-
"name": "constant.numeric.scss",
|
714
|
-
"match": "[\\+|\\-]?(\\s*)?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)"
|
715
|
-
},
|
716
|
-
"constant_optional": {
|
717
|
-
"name": "keyword.other.optional.scss",
|
718
|
-
"match": "\\!optional"
|
719
|
-
},
|
720
|
-
"constant_property_value": {
|
721
|
-
"name": "support.constant.property-value.scss",
|
722
|
-
"match": "\\b(absolute|all-scroll|always|armenian|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|cjk-ideographic|col-resize|collapse|crosshair|dashed|decimal-leading-zero|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|georgian|groove|hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|zero|true|false|vertical|horizontal)\\b"
|
723
|
-
},
|
724
|
-
"constant_rgb": {
|
725
|
-
"name": "constant.other.color.rgb-value.scss",
|
726
|
-
"match": "(\\b0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\b)"
|
727
|
-
},
|
728
|
-
"constant_rgb_percentage": {
|
729
|
-
"name": "constant.other.color.rgb-percentage.scss",
|
730
|
-
"match": "\\b([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%"
|
731
|
-
},
|
732
|
-
"constant_sass_functions": {
|
733
|
-
"begin": "(headings|stylesheet-url|rgba?|hsla?|ie-hex-str|red|green|blue|alpha|opacity|hue|saturation|lightness|prefixed|prefix|-moz|-svg|-css2|-pie|-webkit|-ms|-o|-khtml|font-(?:files|url)|grid-image|image-(?:width|height|url|color)|sprites?|sprite-(?:map|map-name|file|url|position)|inline-(?:font-files|image)|opposite-position|grad-point|grad-end-position|color-stops|color-stops-in-percentages|grad-color-stops|(?:radial|linear)-(?:gradient|svg-gradient)|opacify|fade-?in|transparentize|fade-?out|lighten|darken|saturate|desaturate|grayscale|adjust-(?:hue|lightness|saturation|color)|scale-(?:lightness|saturation|color)|change-color|spin|complement|invert|mix|-compass-(?:list|space-list|slice|nth|list-size)|blank|compact|nth|first-value-of|join|length|append|nest|append-selector|headers|enumerate|range|percentage|unitless|unit|if|type-of|comparable|elements-of-type|quote|unquote|escape|e|sin|cos|tan|abs|round|ceil|floor|pi|translate(?:X|Y))\\s*(\\()",
|
734
|
-
"end": "(\\))",
|
735
|
-
"patterns": [
|
736
|
-
{
|
737
|
-
"include": "#parameters"
|
738
|
-
}
|
739
|
-
],
|
740
|
-
"beginCaptures": {
|
741
|
-
"1": {
|
742
|
-
"name": "support.function.misc.scss"
|
743
|
-
},
|
744
|
-
"2": {
|
745
|
-
"name": "punctuation.section.function.scss"
|
746
|
-
}
|
747
|
-
},
|
748
|
-
"endCaptures": {
|
749
|
-
"1": {
|
750
|
-
"name": "punctuation.section.function.scss"
|
751
|
-
}
|
752
|
-
}
|
753
|
-
},
|
754
|
-
"constant_unit": {
|
755
|
-
"name": "keyword.other.unit.scss",
|
756
|
-
"match": "(?\u003c=[\\d])(ch|cm|deg|dpi|dpcm|dppx|em|ex|grad|in|mm|ms|pc|pt|px|rad|rem|turn|s|vh|vmin|vw)\\b|%"
|
757
|
-
},
|
758
|
-
"flow_control": {
|
759
|
-
"patterns": [
|
760
|
-
{
|
761
|
-
"include": "#at_rule_if"
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"include": "#at_rule_else"
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"include": "#at_rule_warn"
|
768
|
-
},
|
769
|
-
{
|
770
|
-
"include": "#at_rule_for"
|
771
|
-
},
|
772
|
-
{
|
773
|
-
"include": "#at_rule_while"
|
774
|
-
},
|
775
|
-
{
|
776
|
-
"include": "#at_rule_each"
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"include": "#at_rule_return"
|
780
|
-
}
|
781
|
-
]
|
782
|
-
},
|
783
|
-
"function_attributes": {
|
784
|
-
"patterns": [
|
785
|
-
{
|
786
|
-
"name": "punctuation.definition",
|
787
|
-
"match": ":"
|
788
|
-
},
|
789
|
-
{
|
790
|
-
"include": "#general"
|
791
|
-
},
|
792
|
-
{
|
793
|
-
"include": "#property_values"
|
794
|
-
},
|
795
|
-
{
|
796
|
-
"name": "invalid.illegal.character_not_allowed_here.scss",
|
797
|
-
"match": "[=\\{\\}\\?\\;\\@]"
|
798
|
-
}
|
799
|
-
]
|
800
|
-
},
|
801
|
-
"functions": {
|
802
|
-
"patterns": [
|
803
|
-
{
|
804
|
-
"begin": "([\\w-]{1,})(\\()\\s*",
|
805
|
-
"end": "(\\))",
|
806
|
-
"patterns": [
|
807
|
-
{
|
808
|
-
"include": "#parameters"
|
809
|
-
}
|
810
|
-
],
|
811
|
-
"beginCaptures": {
|
812
|
-
"1": {
|
813
|
-
"name": "support.function.misc.scss"
|
814
|
-
},
|
815
|
-
"2": {
|
816
|
-
"name": "punctuation.section.function.scss"
|
817
|
-
}
|
818
|
-
},
|
819
|
-
"endCaptures": {
|
820
|
-
"1": {
|
821
|
-
"name": "punctuation.section.function.scss"
|
822
|
-
}
|
823
|
-
}
|
824
|
-
},
|
825
|
-
{
|
826
|
-
"name": "support.function.misc.scss",
|
827
|
-
"match": "([\\w-]{1,})"
|
828
|
-
}
|
829
|
-
]
|
830
|
-
},
|
831
|
-
"general": {
|
832
|
-
"patterns": [
|
833
|
-
{
|
834
|
-
"include": "#variable"
|
835
|
-
},
|
836
|
-
{
|
837
|
-
"include": "#comment_block"
|
838
|
-
},
|
839
|
-
{
|
840
|
-
"include": "#comment_line"
|
841
|
-
}
|
842
|
-
]
|
843
|
-
},
|
844
|
-
"interpolation": {
|
845
|
-
"name": "variable.other.interpolation.scss",
|
846
|
-
"begin": "#\\{",
|
847
|
-
"end": "\\}([A-Za-z/-]*)?",
|
848
|
-
"patterns": [
|
849
|
-
{
|
850
|
-
"include": "#property_values"
|
851
|
-
},
|
852
|
-
{
|
853
|
-
"include": "#variable"
|
854
|
-
}
|
855
|
-
]
|
856
|
-
},
|
857
|
-
"logical_operators": {
|
858
|
-
"name": "keyword.control.operator",
|
859
|
-
"match": "\\s(\\=\\=|\\!\\=|\\\u003c\\=|\\\u003e\\=|\\\u003c|\\\u003e|not|or|and)\\s"
|
860
|
-
},
|
861
|
-
"media_attributes": {
|
862
|
-
"patterns": [
|
863
|
-
{
|
864
|
-
"name": "punctuation.definition",
|
865
|
-
"match": ":"
|
866
|
-
},
|
867
|
-
{
|
868
|
-
"include": "#general"
|
869
|
-
},
|
870
|
-
{
|
871
|
-
"include": "#property_name"
|
872
|
-
},
|
873
|
-
{
|
874
|
-
"include": "#property_values"
|
875
|
-
},
|
876
|
-
{
|
877
|
-
"name": "invalid.illegal.character_not_allowed_here.scss",
|
878
|
-
"match": "[=\\{\\}\\?\\@]"
|
879
|
-
}
|
880
|
-
]
|
881
|
-
},
|
882
|
-
"parameters": {
|
883
|
-
"patterns": [
|
884
|
-
{
|
885
|
-
"include": "#variable"
|
886
|
-
},
|
887
|
-
{
|
888
|
-
"include": "#property_values"
|
889
|
-
},
|
890
|
-
{
|
891
|
-
"include": "#comment_line"
|
892
|
-
},
|
893
|
-
{
|
894
|
-
"include": "#comment_block"
|
895
|
-
},
|
896
|
-
{
|
897
|
-
"name": "variable.parameter.url.scss",
|
898
|
-
"match": "[^'\",) \\t]+"
|
899
|
-
},
|
900
|
-
{
|
901
|
-
"name": "punctuation.separator.parameters.scss",
|
902
|
-
"match": ","
|
903
|
-
}
|
904
|
-
]
|
905
|
-
},
|
906
|
-
"properties": {
|
907
|
-
"patterns": [
|
908
|
-
{
|
909
|
-
"name": "meta.property-name.scss",
|
910
|
-
"begin": "(?\u003c![-a-z])(?=[-a-z])",
|
911
|
-
"end": "$|(?![-a-z])",
|
912
|
-
"patterns": [
|
913
|
-
{
|
914
|
-
"include": "#property_names"
|
915
|
-
},
|
916
|
-
{
|
917
|
-
"include": "#at_rule_include"
|
918
|
-
}
|
919
|
-
]
|
920
|
-
},
|
921
|
-
{
|
922
|
-
"name": "meta.property-value.scss",
|
923
|
-
"begin": "(:)\\s*(?!(\\s*{))",
|
924
|
-
"end": "\\s*(;|(?=\\}))",
|
925
|
-
"patterns": [
|
926
|
-
{
|
927
|
-
"include": "#general"
|
928
|
-
},
|
929
|
-
{
|
930
|
-
"include": "#property_values"
|
931
|
-
}
|
932
|
-
],
|
933
|
-
"beginCaptures": {
|
934
|
-
"1": {
|
935
|
-
"name": "punctuation.separator.key-value.scss"
|
936
|
-
}
|
937
|
-
},
|
938
|
-
"endCaptures": {
|
939
|
-
"1": {
|
940
|
-
"name": "punctuation.terminator.rule.scss"
|
941
|
-
}
|
942
|
-
}
|
943
|
-
}
|
944
|
-
]
|
945
|
-
},
|
946
|
-
"property_list": {
|
947
|
-
"name": "meta.property-list.scss",
|
948
|
-
"begin": "\\{",
|
949
|
-
"end": "\\}",
|
950
|
-
"patterns": [
|
951
|
-
{
|
952
|
-
"include": "#flow_control"
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"include": "#rules"
|
956
|
-
},
|
957
|
-
{
|
958
|
-
"include": "#properties"
|
959
|
-
},
|
960
|
-
{
|
961
|
-
"include": "$self"
|
962
|
-
}
|
963
|
-
],
|
964
|
-
"captures": {
|
965
|
-
"0": {
|
966
|
-
"name": "punctuation.section.property-list.scss"
|
967
|
-
}
|
968
|
-
},
|
969
|
-
"beginCaptures": {
|
970
|
-
"0": {
|
971
|
-
"name": "punctuation.section.property-list.begin.scss"
|
972
|
-
}
|
973
|
-
},
|
974
|
-
"endCaptures": {
|
975
|
-
"0": {
|
976
|
-
"name": "punctuation.section.property-list.end.scss"
|
977
|
-
}
|
978
|
-
}
|
979
|
-
},
|
980
|
-
"property_name": {
|
981
|
-
"name": "support.type.property-name.scss",
|
982
|
-
"match": "\\b(-webkit-[A-Za-z]+|-moz-[A-Za-z]+|-o-[A-Za-z]+|-ms-[A-Za-z]+|-khtml-[A-Za-z]+|[0-9]{1,3}\\%|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|will-change|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|prespective|prespective-origin|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|grid-rows|grid-columns|grid|gap|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-feature-settings|font-family|font|float-offset|float|flex-group|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align|after|adjust)\\b"
|
983
|
-
},
|
984
|
-
"property_name_error": {
|
985
|
-
"name": "invalid.illegal.unknown-property-name.scss",
|
986
|
-
"match": "(?\u003c![a-z-])(?!-(top|right|left|bottom|color|radius|last|inside|width|before|after|value|size|type|position|style|image|strategy|shift|align|adjust)\\b|-webkit-[A-Za-z]+\\b|-moz-[A-Za-z]+\\b|-o-[A-Za-z]+\\b|-ms-[A-Za-z]+\\b|-khtml-[A-Za-z]+\\b|z-index\\b|[0-9]{1,3}\\%\\b|zoom\\b|y\\b|x\\b|wrap\\b|word-wrap\\b|word-spacing\\b|word-break\\b|word\\b|will-change\\b|width\\b|widows\\b|white-space-collapse\\b|white-space\\b|white\\b|weight\\b|volume\\b|voice-volume\\b|voice-stress\\b|voice-rate\\b|voice-pitch-range\\b|voice-pitch\\b|voice-family\\b|voice-duration\\b|voice-balance\\b|voice\\b|visibility\\b|vertical-align\\b|variant\\b|user-select\\b|up\\b|unicode-bidi\\b|unicode\\b|u\\b|tt\\b|trim\\b|transition-timing-function\\b|transition-property\\b|transition-duration\\b|transition-delay\\b|transition\\b|transform\\b|top-width\\b|top-style\\b|top-right-radius\\b|top-left-radius\\b|top-color\\b|top\\b|timing-function\\b|text-wrap\\b|text-transform\\b|text-shadow\\b|text-replace\\b|text-outline\\b|text-justify\\b|text-indent\\b|text-height\\b|text-emphasis\\b|text-decoration\\b|text-align-last\\b|text-align\\b|text\\b|target-position\\b|target-new\\b|target-name\\b|target\\b|table-layout\\b|tab-size\\b|style-type\\b|style-position\\b|style-image\\b|style\\b|string-set\\b|strike\\b|stretch\\b|stress\\b|stacking-strategy\\b|stacking-shift\\b|stacking-ruby\\b|stacking\\b|src\\b|speed\\b|speech-rate\\b|speech\\b|speak-punctuation\\b|speak-numeral\\b|speak-header\\b|speak\\b|span\\b|spacing\\b|space-collapse\\b|space\\b|sizing\\b|size-adjust\\b|size\\b|shadow\\b|stroke\\b|stroke-width\\b|s\\b|respond-to\\b|rule-width\\b|rule-style\\b|rule-color\\b|rule\\b|ruby-span\\b|ruby-position\\b|ruby-overhang\\b|ruby-align\\b|ruby\\b|rows\\b|rotation-point\\b|rotation\\b|role\\b|right-width\\b|right-style\\b|right-color\\b|right\\b|richness\\b|rest-before\\b|rest-after\\b|rest\\b|resource\\b|resolution\\b|resize\\b|reset\\b|replace\\b|repeat\\b|rendering-intent\\b|rate\\b|radius\\b|quotes\\b|punctuation-trim\\b|punctuation\\b|property\\b|profile\\b|presentation-level\\b|presentation\\b|prespective\\b|prespective-origin\\b|position\\b|pointer-events\\b|point\\b|play-state\\b|play-during\\b|play-count\\b|pitch-range\\b|pitch\\b|phonemes\\b|pause-before\\b|pause-after\\b|pause\\b|page-policy\\b|page-break-inside\\b|page-break-before\\b|page-break-after\\b|page\\b|padding-top\\b|padding-right\\b|padding-left\\b|padding-bottom\\b|padding\\b|pack\\b|overhang\\b|overflow-y\\b|overflow-x\\b|overflow-style\\b|overflow\\b|outline-width\\b|outline-style\\b|outline-offset\\b|outline-color\\b|outline\\b|orphans\\b|origin\\b|orientation\\b|orient\\b|ordinal-group\\b|opacity\\b|offset\\b|numeral\\b|new\\b|nav-up\\b|nav-right\\b|nav-left\\b|nav-index\\b|nav-down\\b|nav\\b|name\\b|move-to\\b|model\\b|min-width\\b|min-height\\b|min\\b|max-width\\b|max-height\\b|max\\b|marquee-style\\b|marquee-speed\\b|marquee-play-count\\b|marquee-direction\\b|marquee\\b|marks\\b|mark-before\\b|mark-after\\b|mark\\b|margin-top\\b|margin-right\\b|margin-left\\b|margin-bottom\\b|margin\\b|mask-image\\b|list-style-type\\b|list-style-position\\b|list-style-image\\b|list-style\\b|list\\b|lines\\b|line-stacking-strategy\\b|line-stacking-shift\\b|line-stacking-ruby\\b|line-stacking\\b|line-height\\b|line\\b|level\\b|letter-spacing\\b|length\\b|left-width\\b|left-style\\b|left-color\\b|left\\b|label\\b|justify\\b|iteration-count\\b|inline-box-align\\b|initial-value\\b|initial-size\\b|initial-before-align\\b|initial-before-adjust\\b|initial-after-align\\b|initial-after-adjust\\b|index\\b|indent\\b|increment\\b|image-resolution\\b|image-orientation\\b|image\\b|icon\\b|hyphens\\b|hyphenate-resource\\b|hyphenate-lines\\b|hyphenate-character\\b|hyphenate-before\\b|hyphenate-after\\b|hyphenate\\b|height\\b|header\\b|hanging-punctuation\\b|grid-rows\\b|grid-columns\\b|grid\\b|gap\\b|font-weight\\b|font-variant\\b|font-style\\b|font-stretch\\b|font-size-adjust\\b|font-size\\b|font-feature-settings\\b|font-family\\b|font\\b|float-offset\\b|float\\b|flex-group\\b|flex\\b|fit-position\\b|fit\\b|fill\\b|filter\\b|family\\b|empty-cells\\b|emphasis\\b|elevation\\b|duration\\b|drop-initial-value\\b|drop-initial-size\\b|drop-initial-before-align\\b|drop-initial-before-adjust\\b|drop-initial-after-align\\b|drop-initial-after-adjust\\b|drop\\b|down\\b|dominant-baseline\\b|display-role\\b|display-model\\b|display\\b|direction\\b|delay\\b|decoration-break\\b|decoration\\b|cursor\\b|cue-before\\b|cue-after\\b|cue\\b|crop\\b|counter-reset\\b|counter-increment\\b|counter\\b|count\\b|content\\b|columns\\b|column-width\\b|column-span\\b|column-rule-width\\b|column-rule-style\\b|column-rule-color\\b|column-rule\\b|column-gap\\b|column-fill\\b|column-count\\b|column-break-before\\b|column-break-after\\b|column\\b|color-profile\\b|color\\b|collapse\\b|clip\\b|clear\\b|character\\b|center\\b|caption-side\\b|break-inside\\b|break-before\\b|break-after\\b|break\\b|box-sizing\\b|box-shadow\\b|box-pack\\b|box-orient\\b|box-ordinal-group\\b|box-lines\\b|box-flex-group\\b|box-flex\\b|box-direction\\b|box-decoration-break\\b|box-align\\b|box\\b|bottom-width\\b|bottom-style\\b|bottom-right-radius\\b|bottom-left-radius\\b|bottom-color\\b|bottom\\b|border-width\\b|border-top-width\\b|border-top-style\\b|border-top-right-radius\\b|border-top-left-radius\\b|border-top-color\\b|border-top\\b|border-style\\b|border-spacing\\b|border-right-width\\b|border-right-style\\b|border-right-color\\b|border-right\\b|border-radius\\b|border-length\\b|border-left-width\\b|border-left-style\\b|border-left-color\\b|border-left\\b|border-image\\b|border-color\\b|border-collapse\\b|border-bottom-width\\b|border-bottom-style\\b|border-bottom-right-radius\\b|border-bottom-left-radius\\b|border-bottom-color\\b|border-bottom\\b|border\\b|bookmark-target\\b|bookmark-level\\b|bookmark-label\\b|bookmark\\b|binding\\b|bidi\\b|big\\b|before\\b|baseline-shift\\b|baseline\\b|balance\\b|background-size\\b|background-repeat\\b|background-position\\b|background-origin\\b|background-image\\b|background-color\\b|background-clip\\b|background-break\\b|background-attachment\\b|background\\b|azimuth\\b|attachment\\b|applet\\b|appearance\\b|animation-timing-function\\b|animation-play-state\\b|animation-name\\b|animation-iteration-count\\b|animation-duration\\b|animation-direction\\b|animation-delay\\b|animation\\b|alignment-baseline\\b|alignment-adjust\\b|alignment\\b|align-self\\b|align-last\\b|align-items\\b|align\\b|after\\b|adjust\\b|acronym\\b)[a-z\\-\\_]+"
|
987
|
-
},
|
988
|
-
"property_names": {
|
989
|
-
"patterns": [
|
990
|
-
{
|
991
|
-
"include": "#property_name"
|
992
|
-
},
|
993
|
-
{
|
994
|
-
"include": "#property_name_error"
|
995
|
-
}
|
996
|
-
]
|
997
|
-
},
|
998
|
-
"property_values": {
|
999
|
-
"patterns": [
|
1000
|
-
{
|
1001
|
-
"include": "#string_single"
|
1002
|
-
},
|
1003
|
-
{
|
1004
|
-
"include": "#string_double"
|
1005
|
-
},
|
1006
|
-
{
|
1007
|
-
"include": "#constant_functions"
|
1008
|
-
},
|
1009
|
-
{
|
1010
|
-
"include": "#constant_sass_functions"
|
1011
|
-
},
|
1012
|
-
{
|
1013
|
-
"include": "#constant_hex"
|
1014
|
-
},
|
1015
|
-
{
|
1016
|
-
"include": "#constant_rgb"
|
1017
|
-
},
|
1018
|
-
{
|
1019
|
-
"include": "#constant_rgb_percentage"
|
1020
|
-
},
|
1021
|
-
{
|
1022
|
-
"include": "#constant_important"
|
1023
|
-
},
|
1024
|
-
{
|
1025
|
-
"include": "#constant_default"
|
1026
|
-
},
|
1027
|
-
{
|
1028
|
-
"include": "#constant_optional"
|
1029
|
-
},
|
1030
|
-
{
|
1031
|
-
"include": "#constant_unit"
|
1032
|
-
},
|
1033
|
-
{
|
1034
|
-
"include": "#constant_property_value"
|
1035
|
-
},
|
1036
|
-
{
|
1037
|
-
"include": "#constant_number"
|
1038
|
-
},
|
1039
|
-
{
|
1040
|
-
"include": "#constant_font"
|
1041
|
-
},
|
1042
|
-
{
|
1043
|
-
"include": "#constant_color"
|
1044
|
-
},
|
1045
|
-
{
|
1046
|
-
"include": "#constant_deprecated_color"
|
1047
|
-
},
|
1048
|
-
{
|
1049
|
-
"include": "#constant_mathematical_symbols"
|
1050
|
-
}
|
1051
|
-
]
|
1052
|
-
},
|
1053
|
-
"rules": {
|
1054
|
-
"patterns": [
|
1055
|
-
{
|
1056
|
-
"include": "#general"
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"include": "#at_rule_extend"
|
1060
|
-
},
|
1061
|
-
{
|
1062
|
-
"include": "#at_rule_content"
|
1063
|
-
},
|
1064
|
-
{
|
1065
|
-
"include": "#at_rule_include"
|
1066
|
-
},
|
1067
|
-
{
|
1068
|
-
"include": "#at_rule_media"
|
1069
|
-
},
|
1070
|
-
{
|
1071
|
-
"include": "#selectors"
|
1072
|
-
}
|
1073
|
-
]
|
1074
|
-
},
|
1075
|
-
"selector_ampersand_class": {
|
1076
|
-
"name": "entity.other.attribute-name.class.css",
|
1077
|
-
"match": "(\\\u0026)[a-zA-Z0-9_-]+",
|
1078
|
-
"captures": {
|
1079
|
-
"1": {
|
1080
|
-
"name": "punctuation.definition.entity.css"
|
1081
|
-
}
|
1082
|
-
}
|
1083
|
-
},
|
1084
|
-
"selector_attribute": {
|
1085
|
-
"name": "meta.attribute-selector.scss",
|
1086
|
-
"match": "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?\u003e(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])",
|
1087
|
-
"captures": {
|
1088
|
-
"1": {
|
1089
|
-
"name": "punctuation.definition.entity.scss"
|
1090
|
-
},
|
1091
|
-
"2": {
|
1092
|
-
"name": "entity.other.attribute-name.attribute.scss"
|
1093
|
-
},
|
1094
|
-
"3": {
|
1095
|
-
"name": "punctuation.separator.operator.scss"
|
1096
|
-
},
|
1097
|
-
"4": {
|
1098
|
-
"name": "string.unquoted.attribute-value.scss"
|
1099
|
-
},
|
1100
|
-
"5": {
|
1101
|
-
"name": "string.quoted.double.attribute-value.scss"
|
1102
|
-
},
|
1103
|
-
"6": {
|
1104
|
-
"name": "punctuation.definition.string.begin.scss"
|
1105
|
-
},
|
1106
|
-
"7": {
|
1107
|
-
"name": "punctuation.definition.string.end.scss"
|
1108
|
-
}
|
1109
|
-
}
|
1110
|
-
},
|
1111
|
-
"selector_class": {
|
1112
|
-
"name": "entity.other.attribute-name.class.css",
|
1113
|
-
"match": "(\\.)[a-zA-Z0-9_-]+",
|
1114
|
-
"captures": {
|
1115
|
-
"1": {
|
1116
|
-
"name": "punctuation.definition.entity.css"
|
1117
|
-
}
|
1118
|
-
}
|
1119
|
-
},
|
1120
|
-
"selector_entities": {
|
1121
|
-
"name": "entity.name.tag.scss",
|
1122
|
-
"match": "\\b(a|abbr|acronym|address|area|article|aside|applet|audio|b|base|bdo|big|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|keygen|kbd|label|legend|li|link|main|map|mark|menu|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|svg|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|u|ul|var|video)\\b"
|
1123
|
-
},
|
1124
|
-
"selector_id": {
|
1125
|
-
"name": "entity.other.attribute-name.id.css",
|
1126
|
-
"match": "(#)[a-zA-Z][a-zA-Z0-9_-]*",
|
1127
|
-
"captures": {
|
1128
|
-
"1": {
|
1129
|
-
"name": "punctuation.definition.entity.css"
|
1130
|
-
}
|
1131
|
-
}
|
1132
|
-
},
|
1133
|
-
"selector_placeholder": {
|
1134
|
-
"name": "entity.other.attribute-name.placeholder.scss",
|
1135
|
-
"match": "(\\%)[a-zA-Z0-9_-]+",
|
1136
|
-
"captures": {
|
1137
|
-
"1": {
|
1138
|
-
"name": "punctuation.definition.entity.scss"
|
1139
|
-
}
|
1140
|
-
}
|
1141
|
-
},
|
1142
|
-
"selector_pseudo_class": {
|
1143
|
-
"name": "entity.other.attribute-name.pseudo-class.css",
|
1144
|
-
"match": "(:+)\\b(link|visited|hover|active|focus|target|lang|disabled|enabled|checked|indeterminate|root|nth-child|nth-last-child|nth-of-type|nth-last-of-type|first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|empty|not|valid|invalid)([\\(\\)\\+0-9A-Za-z]*)?",
|
1145
|
-
"captures": {
|
1146
|
-
"1": {
|
1147
|
-
"name": "punctuation.definition.entity.css"
|
1148
|
-
}
|
1149
|
-
}
|
1150
|
-
},
|
1151
|
-
"selector_pseudo_element": {
|
1152
|
-
"name": "entity.other.attribute-name.pseudo-element.css",
|
1153
|
-
"match": "(:+)(-(webkit|moz)-)?\\b(after|before|first-letter|first-line|selection|any-link|local-link|input-placeholder|focus-inner|matches|nth-match|column|nth-column)\\b",
|
1154
|
-
"captures": {
|
1155
|
-
"1": {
|
1156
|
-
"name": "punctuation.definition.entity.css"
|
1157
|
-
}
|
1158
|
-
}
|
1159
|
-
},
|
1160
|
-
"selectors": {
|
1161
|
-
"patterns": [
|
1162
|
-
{
|
1163
|
-
"include": "#selector_entities"
|
1164
|
-
},
|
1165
|
-
{
|
1166
|
-
"include": "#selector_class"
|
1167
|
-
},
|
1168
|
-
{
|
1169
|
-
"include": "#selector_ampersand_class"
|
1170
|
-
},
|
1171
|
-
{
|
1172
|
-
"include": "#selector_id"
|
1173
|
-
},
|
1174
|
-
{
|
1175
|
-
"include": "#selector_pseudo_class"
|
1176
|
-
},
|
1177
|
-
{
|
1178
|
-
"include": "#tag_wildcard"
|
1179
|
-
},
|
1180
|
-
{
|
1181
|
-
"include": "#tag_parent_reference"
|
1182
|
-
},
|
1183
|
-
{
|
1184
|
-
"include": "#selector_pseudo_element"
|
1185
|
-
},
|
1186
|
-
{
|
1187
|
-
"include": "#selector_attribute"
|
1188
|
-
},
|
1189
|
-
{
|
1190
|
-
"include": "#selector_placeholder"
|
1191
|
-
}
|
1192
|
-
]
|
1193
|
-
},
|
1194
|
-
"string_double": {
|
1195
|
-
"name": "string.quoted.double.scss",
|
1196
|
-
"begin": "\"",
|
1197
|
-
"end": "\"",
|
1198
|
-
"patterns": [
|
1199
|
-
{
|
1200
|
-
"name": "constant.character.escape.scss",
|
1201
|
-
"match": "\\\\."
|
1202
|
-
},
|
1203
|
-
{
|
1204
|
-
"include": "#interpolation"
|
1205
|
-
}
|
1206
|
-
],
|
1207
|
-
"beginCaptures": {
|
1208
|
-
"0": {
|
1209
|
-
"name": "punctuation.definition.string.begin.scss"
|
1210
|
-
}
|
1211
|
-
},
|
1212
|
-
"endCaptures": {
|
1213
|
-
"0": {
|
1214
|
-
"name": "punctuation.definition.string.end.scss"
|
1215
|
-
}
|
1216
|
-
}
|
1217
|
-
},
|
1218
|
-
"string_single": {
|
1219
|
-
"name": "string.quoted.single.scss",
|
1220
|
-
"begin": "'",
|
1221
|
-
"end": "'",
|
1222
|
-
"patterns": [
|
1223
|
-
{
|
1224
|
-
"name": "constant.character.escape.scss",
|
1225
|
-
"match": "\\\\."
|
1226
|
-
}
|
1227
|
-
],
|
1228
|
-
"beginCaptures": {
|
1229
|
-
"0": {
|
1230
|
-
"name": "punctuation.definition.string.begin.scss"
|
1231
|
-
}
|
1232
|
-
},
|
1233
|
-
"endCaptures": {
|
1234
|
-
"0": {
|
1235
|
-
"name": "punctuation.definition.string.end.scss"
|
1236
|
-
}
|
1237
|
-
}
|
1238
|
-
},
|
1239
|
-
"tag_parent_reference": {
|
1240
|
-
"name": "entity.name.tag.reference.scss",
|
1241
|
-
"match": "\\\u0026"
|
1242
|
-
},
|
1243
|
-
"tag_wildcard": {
|
1244
|
-
"name": "entity.name.tag.wildcard.scss",
|
1245
|
-
"match": "\\*"
|
1246
|
-
},
|
1247
|
-
"variable": {
|
1248
|
-
"patterns": [
|
1249
|
-
{
|
1250
|
-
"include": "#variables"
|
1251
|
-
},
|
1252
|
-
{
|
1253
|
-
"include": "#interpolation"
|
1254
|
-
}
|
1255
|
-
]
|
1256
|
-
},
|
1257
|
-
"variable_setting": {
|
1258
|
-
"name": "meta.set.variable",
|
1259
|
-
"begin": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*(\\:)\\s*",
|
1260
|
-
"end": "\\s*(?=\\;)",
|
1261
|
-
"patterns": [
|
1262
|
-
{
|
1263
|
-
"include": "#property_values"
|
1264
|
-
},
|
1265
|
-
{
|
1266
|
-
"include": "#variable"
|
1267
|
-
}
|
1268
|
-
],
|
1269
|
-
"captures": {
|
1270
|
-
"1": {
|
1271
|
-
"name": "variable.other.scss"
|
1272
|
-
},
|
1273
|
-
"2": {
|
1274
|
-
"name": "punctuation.separator.key-value.scss"
|
1275
|
-
}
|
1276
|
-
}
|
1277
|
-
},
|
1278
|
-
"variables": {
|
1279
|
-
"match": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*",
|
1280
|
-
"captures": {
|
1281
|
-
"1": {
|
1282
|
-
"name": "variable.other.scss"
|
1283
|
-
}
|
1284
|
-
}
|
1285
|
-
}
|
1286
|
-
}
|
1287
|
-
}
|