tm-grammars 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/LICENSE +22 -0
  2. package/NOTICE +6565 -0
  3. package/README.md +211 -0
  4. package/grammars/abap.json +380 -0
  5. package/grammars/actionscript-3.json +951 -0
  6. package/grammars/ada.json +3874 -0
  7. package/grammars/apache.json +562 -0
  8. package/grammars/apex.json +3203 -0
  9. package/grammars/apl.json +1479 -0
  10. package/grammars/applescript.json +1406 -0
  11. package/grammars/ara.json +428 -0
  12. package/grammars/asm.json +1741 -0
  13. package/grammars/astro.json +776 -0
  14. package/grammars/awk.json +388 -0
  15. package/grammars/ballerina.json +3768 -0
  16. package/grammars/bat.json +783 -0
  17. package/grammars/beancount.json +831 -0
  18. package/grammars/berry.json +172 -0
  19. package/grammars/bibtex.json +315 -0
  20. package/grammars/bicep.json +239 -0
  21. package/grammars/blade.json +3870 -0
  22. package/grammars/c.json +3552 -0
  23. package/grammars/cadence.json +738 -0
  24. package/grammars/clarity.json +877 -0
  25. package/grammars/clojure.json +426 -0
  26. package/grammars/cmake.json +143 -0
  27. package/grammars/cobol.json +1124 -0
  28. package/grammars/codeql.json +1540 -0
  29. package/grammars/coffee.json +1311 -0
  30. package/grammars/cpp-macro.json +9498 -0
  31. package/grammars/cpp.json +16635 -0
  32. package/grammars/crystal.json +1866 -0
  33. package/grammars/csharp.json +5722 -0
  34. package/grammars/css.json +1860 -0
  35. package/grammars/csv.json +46 -0
  36. package/grammars/cue.json +1128 -0
  37. package/grammars/cypher.json +353 -0
  38. package/grammars/d.json +3185 -0
  39. package/grammars/dart.json +522 -0
  40. package/grammars/dax.json +185 -0
  41. package/grammars/diff.json +155 -0
  42. package/grammars/docker.json +97 -0
  43. package/grammars/dream-maker.json +640 -0
  44. package/grammars/elixir.json +1014 -0
  45. package/grammars/elm.json +751 -0
  46. package/grammars/erb.json +156 -0
  47. package/grammars/erlang.json +1757 -0
  48. package/grammars/fish.json +189 -0
  49. package/grammars/fsharp.json +1831 -0
  50. package/grammars/gdresource.json +290 -0
  51. package/grammars/gdscript.json +969 -0
  52. package/grammars/gdshader.json +405 -0
  53. package/grammars/gherkin.json +133 -0
  54. package/grammars/git-commit.json +85 -0
  55. package/grammars/git-rebase.json +56 -0
  56. package/grammars/glimmer-js.json +98 -0
  57. package/grammars/glimmer-ts.json +98 -0
  58. package/grammars/glsl.json +57 -0
  59. package/grammars/gnuplot.json +892 -0
  60. package/grammars/go.json +1012 -0
  61. package/grammars/graphql.json +1295 -0
  62. package/grammars/groovy.json +1378 -0
  63. package/grammars/hack.json +2650 -0
  64. package/grammars/haml.json +598 -0
  65. package/grammars/handlebars.json +848 -0
  66. package/grammars/haskell.json +2431 -0
  67. package/grammars/hcl.json +787 -0
  68. package/grammars/hjson.json +821 -0
  69. package/grammars/hlsl.json +212 -0
  70. package/grammars/html.json +93 -0
  71. package/grammars/imba.json +2696 -0
  72. package/grammars/ini.json +108 -0
  73. package/grammars/java.json +1885 -0
  74. package/grammars/javascript.json +5984 -0
  75. package/grammars/jinja-html.json +16 -0
  76. package/grammars/jinja.json +345 -0
  77. package/grammars/jison.json +715 -0
  78. package/grammars/jsdoc.json +21 -0
  79. package/grammars/json.json +208 -0
  80. package/grammars/json5.json +244 -0
  81. package/grammars/jsonc.json +208 -0
  82. package/grammars/jsonl.json +208 -0
  83. package/grammars/jsonnet.json +211 -0
  84. package/grammars/jssm.json +159 -0
  85. package/grammars/jsx.json +5984 -0
  86. package/grammars/julia.json +1061 -0
  87. package/grammars/kotlin.json +580 -0
  88. package/grammars/kusto.json +687 -0
  89. package/grammars/latex.json +2395 -0
  90. package/grammars/less.json +5012 -0
  91. package/grammars/liquid.json +990 -0
  92. package/grammars/lisp.json +121 -0
  93. package/grammars/logo.json +55 -0
  94. package/grammars/lua.json +956 -0
  95. package/grammars/make.json +629 -0
  96. package/grammars/markdown.json +3066 -0
  97. package/grammars/marko.json +1344 -0
  98. package/grammars/matlab.json +1131 -0
  99. package/grammars/mdc.json +571 -0
  100. package/grammars/mdx.json +5629 -0
  101. package/grammars/mermaid.json +1382 -0
  102. package/grammars/mojo.json +4153 -0
  103. package/grammars/narrat.json +227 -0
  104. package/grammars/nextflow.json +298 -0
  105. package/grammars/nginx.json +2121 -0
  106. package/grammars/nim.json +1522 -0
  107. package/grammars/nix.json +1200 -0
  108. package/grammars/nushell.json +1047 -0
  109. package/grammars/objective-c.json +3750 -0
  110. package/grammars/objective-cpp.json +7242 -0
  111. package/grammars/ocaml.json +2967 -0
  112. package/grammars/pascal.json +154 -0
  113. package/grammars/perl.json +2971 -0
  114. package/grammars/php.json +4024 -0
  115. package/grammars/plsql.json +241 -0
  116. package/grammars/postcss.json +377 -0
  117. package/grammars/powerquery.json +349 -0
  118. package/grammars/powershell.json +1024 -0
  119. package/grammars/prisma.json +443 -0
  120. package/grammars/prolog.json +298 -0
  121. package/grammars/proto.json +507 -0
  122. package/grammars/pug.json +1033 -0
  123. package/grammars/puppet.json +777 -0
  124. package/grammars/purescript.json +871 -0
  125. package/grammars/python.json +4208 -0
  126. package/grammars/r.json +637 -0
  127. package/grammars/raku.json +310 -0
  128. package/grammars/razor.json +1813 -0
  129. package/grammars/reg.json +136 -0
  130. package/grammars/rel.json +200 -0
  131. package/grammars/riscv.json +298 -0
  132. package/grammars/rst.json +734 -0
  133. package/grammars/ruby.json +2769 -0
  134. package/grammars/rust.json +1171 -0
  135. package/grammars/sas.json +302 -0
  136. package/grammars/sass.json +618 -0
  137. package/grammars/scala.json +1313 -0
  138. package/grammars/scheme.json +384 -0
  139. package/grammars/scss.json +1874 -0
  140. package/grammars/shaderlab.json +199 -0
  141. package/grammars/shellscript.json +2025 -0
  142. package/grammars/shellsession.json +33 -0
  143. package/grammars/smalltalk.json +235 -0
  144. package/grammars/solidity.json +1210 -0
  145. package/grammars/sparql.json +45 -0
  146. package/grammars/splunk.json +91 -0
  147. package/grammars/sql.json +631 -0
  148. package/grammars/ssh-config.json +88 -0
  149. package/grammars/stata.json +3050 -0
  150. package/grammars/stylus.json +1208 -0
  151. package/grammars/svelte.json +1171 -0
  152. package/grammars/swift.json +4203 -0
  153. package/grammars/system-verilog.json +1063 -0
  154. package/grammars/tasl.json +292 -0
  155. package/grammars/tcl.json +291 -0
  156. package/grammars/tex.json +281 -0
  157. package/grammars/toml.json +431 -0
  158. package/grammars/tsx.json +5984 -0
  159. package/grammars/turtle.json +261 -0
  160. package/grammars/twig.json +1394 -0
  161. package/grammars/typescript.json +5735 -0
  162. package/grammars/v.json +1001 -0
  163. package/grammars/vb.json +232 -0
  164. package/grammars/verilog.json +305 -0
  165. package/grammars/vhdl.json +1484 -0
  166. package/grammars/viml.json +445 -0
  167. package/grammars/vue-html.json +559 -0
  168. package/grammars/vue.json +1237 -0
  169. package/grammars/vyper.json +5415 -0
  170. package/grammars/wasm.json +831 -0
  171. package/grammars/wenyan.json +129 -0
  172. package/grammars/wgsl.json +391 -0
  173. package/grammars/wolfram.json +2370 -0
  174. package/grammars/xml.json +382 -0
  175. package/grammars/xsl.json +89 -0
  176. package/grammars/yaml.json +616 -0
  177. package/grammars/zenscript.json +257 -0
  178. package/grammars/zig.json +312 -0
  179. package/index.d.ts +18 -0
  180. package/index.js +2165 -0
  181. package/package.json +46 -0
@@ -0,0 +1,618 @@
1
+ {
2
+ "displayName": "Sass",
3
+ "fileTypes": [
4
+ "sass"
5
+ ],
6
+ "foldingStartMarker": "/\\*|^#|^\\*|^\\b|*#?region|^\\.",
7
+ "foldingStopMarker": "\\*/|*#?endregion|^\\s*$",
8
+ "name": "sass",
9
+ "patterns": [
10
+ {
11
+ "begin": "^(\\s*)(/\\*)",
12
+ "end": "(\\*/)|^(?!\\s\\1)",
13
+ "name": "comment.block.sass",
14
+ "patterns": [
15
+ {
16
+ "include": "#comment-tag"
17
+ },
18
+ {
19
+ "include": "#comment-param"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "match": "^[\\t ]*/?//[\\t ]*[SRI][\\t ]*$",
25
+ "name": "keyword.other.sass.formatter.action"
26
+ },
27
+ {
28
+ "begin": "^[\\t ]*//[\\t ]*(import)[\\t ]*(css-variables)[\\t ]*(from)",
29
+ "captures": {
30
+ "1": {
31
+ "name": "keyword.control"
32
+ },
33
+ "2": {
34
+ "name": "variable"
35
+ },
36
+ "3": {
37
+ "name": "keyword.control"
38
+ }
39
+ },
40
+ "end": "$\\n?",
41
+ "name": "comment.import.css.variables",
42
+ "patterns": [
43
+ {
44
+ "include": "#import-quotes"
45
+ }
46
+ ]
47
+ },
48
+ {
49
+ "include": "#double-slash"
50
+ },
51
+ {
52
+ "include": "#double-quoted"
53
+ },
54
+ {
55
+ "include": "#single-quoted"
56
+ },
57
+ {
58
+ "include": "#interpolation"
59
+ },
60
+ {
61
+ "include": "#curly-brackets"
62
+ },
63
+ {
64
+ "include": "#placeholder-selector"
65
+ },
66
+ {
67
+ "begin": "\\$[a-zA-Z0-9_-]+(?=:)",
68
+ "captures": {
69
+ "0": {
70
+ "name": "variable.other.name"
71
+ }
72
+ },
73
+ "end": "$\\n?|(?=\\)\\s\\)|\\)\\n)",
74
+ "name": "sass.script.maps",
75
+ "patterns": [
76
+ {
77
+ "include": "#double-slash"
78
+ },
79
+ {
80
+ "include": "#double-quoted"
81
+ },
82
+ {
83
+ "include": "#single-quoted"
84
+ },
85
+ {
86
+ "include": "#interpolation"
87
+ },
88
+ {
89
+ "include": "#variable"
90
+ },
91
+ {
92
+ "include": "#rgb-value"
93
+ },
94
+ {
95
+ "include": "#numeric"
96
+ },
97
+ {
98
+ "include": "#unit"
99
+ },
100
+ {
101
+ "include": "#flag"
102
+ },
103
+ {
104
+ "include": "#comma"
105
+ },
106
+ {
107
+ "include": "#function"
108
+ },
109
+ {
110
+ "include": "#function-content"
111
+ },
112
+ {
113
+ "include": "#operator"
114
+ },
115
+ {
116
+ "include": "#reserved-words"
117
+ },
118
+ {
119
+ "include": "#parent-selector"
120
+ },
121
+ {
122
+ "include": "#property-value"
123
+ },
124
+ {
125
+ "include": "#semicolon"
126
+ },
127
+ {
128
+ "include": "#dotdotdot"
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "include": "#variable-root"
134
+ },
135
+ {
136
+ "include": "#numeric"
137
+ },
138
+ {
139
+ "include": "#unit"
140
+ },
141
+ {
142
+ "include": "#flag"
143
+ },
144
+ {
145
+ "include": "#comma"
146
+ },
147
+ {
148
+ "include": "#semicolon"
149
+ },
150
+ {
151
+ "include": "#dotdotdot"
152
+ },
153
+ {
154
+ "begin": "@include|\\+(?!\\W|\\d)",
155
+ "captures": {
156
+ "0": {
157
+ "name": "keyword.control.at-rule.css.sass"
158
+ }
159
+ },
160
+ "end": "(?=\\n|\\()",
161
+ "name": "support.function.name.sass.library"
162
+ },
163
+ {
164
+ "begin": "^(@use)",
165
+ "captures": {
166
+ "0": {
167
+ "name": "keyword.control.at-rule.css.sass.use"
168
+ }
169
+ },
170
+ "end": "(?=\\n)",
171
+ "name": "sass.use",
172
+ "patterns": [
173
+ {
174
+ "match": "as|with",
175
+ "name": "support.type.css.sass"
176
+ },
177
+ {
178
+ "include": "#numeric"
179
+ },
180
+ {
181
+ "include": "#unit"
182
+ },
183
+ {
184
+ "include": "#variable-root"
185
+ },
186
+ {
187
+ "include": "#rgb-value"
188
+ },
189
+ {
190
+ "include": "#comma"
191
+ },
192
+ {
193
+ "include": "#parenthesis-open"
194
+ },
195
+ {
196
+ "include": "#parenthesis-close"
197
+ },
198
+ {
199
+ "include": "#colon"
200
+ },
201
+ {
202
+ "include": "#import-quotes"
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "begin": "^@import(.*?)( as.*)?$",
208
+ "captures": {
209
+ "1": {
210
+ "name": "constant.character.css.sass"
211
+ },
212
+ "2": {
213
+ "name": "invalid"
214
+ }
215
+ },
216
+ "end": "(?=\\n)",
217
+ "name": "keyword.control.at-rule.use"
218
+ },
219
+ {
220
+ "begin": "@mixin|^[\\t ]*=|@function",
221
+ "captures": {
222
+ "0": {
223
+ "name": "keyword.control.at-rule.css.sass"
224
+ }
225
+ },
226
+ "end": "$\\n?|(?=\\()",
227
+ "name": "support.function.name.sass",
228
+ "patterns": [
229
+ {
230
+ "match": "[\\w-]+",
231
+ "name": "entity.name.function"
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "begin": "@",
237
+ "end": "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))",
238
+ "name": "keyword.control.at-rule.css.sass"
239
+ },
240
+ {
241
+ "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|slot)\\b(?!-|\\)|:\\s)|&",
242
+ "end": "$\\n?|(?=\\s|,|\\(|\\)|\\.|\\#|\\[|>|-|_)",
243
+ "name": "entity.name.tag.css.sass.symbol",
244
+ "patterns": [
245
+ {
246
+ "include": "#interpolation"
247
+ },
248
+ {
249
+ "include": "#pseudo-class"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "begin": "#",
255
+ "end": "$\\n?|(?=\\s|,|\\(|\\)|\\.|\\[|>)",
256
+ "name": "entity.other.attribute-name.id.css.sass",
257
+ "patterns": [
258
+ {
259
+ "include": "#interpolation"
260
+ },
261
+ {
262
+ "include": "#pseudo-class"
263
+ }
264
+ ]
265
+ },
266
+ {
267
+ "begin": "\\.|(?<=&)(-|_)",
268
+ "end": "$\\n?|(?=\\s|,|\\(|\\)|\\[|>)",
269
+ "name": "entity.other.attribute-name.class.css.sass",
270
+ "patterns": [
271
+ {
272
+ "include": "#interpolation"
273
+ },
274
+ {
275
+ "include": "#pseudo-class"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "begin": "\\[",
281
+ "end": "\\]",
282
+ "name": "entity.other.attribute-selector.sass",
283
+ "patterns": [
284
+ {
285
+ "include": "#double-quoted"
286
+ },
287
+ {
288
+ "include": "#single-quoted"
289
+ },
290
+ {
291
+ "match": "\\^|\\$|\\*|~",
292
+ "name": "keyword.other.regex.sass"
293
+ }
294
+ ]
295
+ },
296
+ {
297
+ "match": "^((?<=\\]|\\)|not\\(|\\*|>|>\\s)|\n*):[a-z:-]+|(::|:-)[a-z:-]+",
298
+ "name": "entity.other.attribute-name.pseudo-class.css.sass"
299
+ },
300
+ {
301
+ "include": "#module"
302
+ },
303
+ {
304
+ "match": "[\\w-]*\\(",
305
+ "name": "entity.name.function"
306
+ },
307
+ {
308
+ "match": "\\)",
309
+ "name": "entity.name.function.close"
310
+ },
311
+ {
312
+ "begin": ":",
313
+ "end": "$\\n?|(?=\\s\\(|and\\(|\\),)",
314
+ "name": "meta.property-list.css.sass.prop",
315
+ "patterns": [
316
+ {
317
+ "match": "(?<=:)[a-z-]+\\s",
318
+ "name": "support.type.property-name.css.sass.prop.name"
319
+ },
320
+ {
321
+ "include": "#double-slash"
322
+ },
323
+ {
324
+ "include": "#double-quoted"
325
+ },
326
+ {
327
+ "include": "#single-quoted"
328
+ },
329
+ {
330
+ "include": "#interpolation"
331
+ },
332
+ {
333
+ "include": "#curly-brackets"
334
+ },
335
+ {
336
+ "include": "#variable"
337
+ },
338
+ {
339
+ "include": "#rgb-value"
340
+ },
341
+ {
342
+ "include": "#numeric"
343
+ },
344
+ {
345
+ "include": "#unit"
346
+ },
347
+ {
348
+ "include": "#module"
349
+ },
350
+ {
351
+ "match": "--.+?(?=\\))",
352
+ "name": "variable.css"
353
+ },
354
+ {
355
+ "match": "[\\w-]*\\(",
356
+ "name": "entity.name.function"
357
+ },
358
+ {
359
+ "match": "\\)",
360
+ "name": "entity.name.function.close"
361
+ },
362
+ {
363
+ "include": "#flag"
364
+ },
365
+ {
366
+ "include": "#comma"
367
+ },
368
+ {
369
+ "include": "#semicolon"
370
+ },
371
+ {
372
+ "include": "#function"
373
+ },
374
+ {
375
+ "include": "#function-content"
376
+ },
377
+ {
378
+ "include": "#operator"
379
+ },
380
+ {
381
+ "include": "#parent-selector"
382
+ },
383
+ {
384
+ "include": "#property-value"
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ "include": "#rgb-value"
390
+ },
391
+ {
392
+ "include": "#function"
393
+ },
394
+ {
395
+ "include": "#function-content"
396
+ },
397
+ {
398
+ "begin": "(?<=})(?!\\n|\\(|\\)|[a-zA-Z0-9_-]+:)",
399
+ "end": "\\s|(?=,|\\.|\\[|\\)|\\n)",
400
+ "name": "entity.name.tag.css.sass",
401
+ "patterns": [
402
+ {
403
+ "include": "#interpolation"
404
+ },
405
+ {
406
+ "include": "#pseudo-class"
407
+ }
408
+ ]
409
+ },
410
+ {
411
+ "include": "#operator"
412
+ },
413
+ {
414
+ "match": "[a-z-]+((?=:|#{))",
415
+ "name": "support.type.property-name.css.sass.prop.name"
416
+ },
417
+ {
418
+ "include": "#reserved-words"
419
+ },
420
+ {
421
+ "include": "#property-value"
422
+ }
423
+ ],
424
+ "repository": {
425
+ "colon": {
426
+ "match": ":",
427
+ "name": "meta.property-list.css.sass.colon"
428
+ },
429
+ "comma": {
430
+ "match": "\\band\\b|\\bor\\b|,",
431
+ "name": "comment.punctuation.comma.sass"
432
+ },
433
+ "comment-param": {
434
+ "match": "\\@(\\w+)",
435
+ "name": "storage.type.class.jsdoc"
436
+ },
437
+ "comment-tag": {
438
+ "begin": "(?<={{)",
439
+ "end": "(?=}})",
440
+ "name": "comment.tag.sass"
441
+ },
442
+ "curly-brackets": {
443
+ "match": "{|}",
444
+ "name": "invalid"
445
+ },
446
+ "dotdotdot": {
447
+ "match": "\\.\\.\\.",
448
+ "name": "variable.other"
449
+ },
450
+ "double-quoted": {
451
+ "begin": "\"",
452
+ "end": "\"",
453
+ "name": "string.quoted.double.css.sass",
454
+ "patterns": [
455
+ {
456
+ "include": "#quoted-interpolation"
457
+ }
458
+ ]
459
+ },
460
+ "double-slash": {
461
+ "begin": "//",
462
+ "end": "$\\n?",
463
+ "name": "comment.line.sass",
464
+ "patterns": [
465
+ {
466
+ "include": "#comment-tag"
467
+ }
468
+ ]
469
+ },
470
+ "flag": {
471
+ "match": "!(important|default|optional|global)",
472
+ "name": "keyword.other.important.css.sass"
473
+ },
474
+ "function": {
475
+ "match": "(?<=[\\s|\\(|,|:])(?!url|format|attr)[a-zA-Z0-9_-][\\w-]*(?=\\()",
476
+ "name": "support.function.name.sass"
477
+ },
478
+ "function-content": {
479
+ "begin": "(?<=url\\(|format\\(|attr\\()",
480
+ "end": ".(?=\\))",
481
+ "name": "string.quoted.double.css.sass"
482
+ },
483
+ "import-quotes": {
484
+ "match": "[\"']?\\.{0,2}[\\w/]+[\"']?",
485
+ "name": "constant.character.css.sass"
486
+ },
487
+ "interpolation": {
488
+ "begin": "#{",
489
+ "end": "}",
490
+ "name": "support.function.interpolation.sass",
491
+ "patterns": [
492
+ {
493
+ "include": "#variable"
494
+ },
495
+ {
496
+ "include": "#numeric"
497
+ },
498
+ {
499
+ "include": "#operator"
500
+ },
501
+ {
502
+ "include": "#unit"
503
+ },
504
+ {
505
+ "include": "#comma"
506
+ },
507
+ {
508
+ "include": "#double-quoted"
509
+ },
510
+ {
511
+ "include": "#single-quoted"
512
+ }
513
+ ]
514
+ },
515
+ "module": {
516
+ "captures": {
517
+ "1": {
518
+ "name": "constant.character.module.name"
519
+ },
520
+ "2": {
521
+ "name": "constant.numeric.module.dot"
522
+ }
523
+ },
524
+ "match": "([\\w-]+?)(\\.)",
525
+ "name": "constant.character.module"
526
+ },
527
+ "numeric": {
528
+ "match": "(-|\\.)?[0-9]+(\\.[0-9]+)?",
529
+ "name": "constant.numeric.css.sass"
530
+ },
531
+ "operator": {
532
+ "match": "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~",
533
+ "name": "keyword.operator.sass"
534
+ },
535
+ "parent-selector": {
536
+ "match": "&",
537
+ "name": "entity.name.tag.css.sass"
538
+ },
539
+ "parenthesis-close": {
540
+ "match": "\\)",
541
+ "name": "entity.name.function.parenthesis.close"
542
+ },
543
+ "parenthesis-open": {
544
+ "match": "\\(",
545
+ "name": "entity.name.function.parenthesis.open"
546
+ },
547
+ "placeholder-selector": {
548
+ "begin": "(?<!\\d)%(?!\\d)",
549
+ "end": "$\\n?|\\s",
550
+ "name": "entity.other.inherited-class.placeholder-selector.css.sass"
551
+ },
552
+ "property-value": {
553
+ "match": "[a-zA-Z0-9_-]+",
554
+ "name": "meta.property-value.css.sass support.constant.property-value.css.sass"
555
+ },
556
+ "pseudo-class": {
557
+ "match": ":[a-z:-]+",
558
+ "name": "entity.other.attribute-name.pseudo-class.css.sass"
559
+ },
560
+ "quoted-interpolation": {
561
+ "begin": "#{",
562
+ "end": "}",
563
+ "name": "support.function.interpolation.sass",
564
+ "patterns": [
565
+ {
566
+ "include": "#variable"
567
+ },
568
+ {
569
+ "include": "#numeric"
570
+ },
571
+ {
572
+ "include": "#operator"
573
+ },
574
+ {
575
+ "include": "#unit"
576
+ },
577
+ {
578
+ "include": "#comma"
579
+ }
580
+ ]
581
+ },
582
+ "reserved-words": {
583
+ "match": "\\b(false|from|in|not|null|through|to|true)\\b",
584
+ "name": "support.type.property-name.css.sass"
585
+ },
586
+ "rgb-value": {
587
+ "match": "(#)([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b",
588
+ "name": "constant.language.color.rgb-value.css.sass"
589
+ },
590
+ "semicolon": {
591
+ "match": ";",
592
+ "name": "invalid"
593
+ },
594
+ "single-quoted": {
595
+ "begin": "'",
596
+ "end": "'",
597
+ "name": "string.quoted.single.css.sass",
598
+ "patterns": [
599
+ {
600
+ "include": "#quoted-interpolation"
601
+ }
602
+ ]
603
+ },
604
+ "unit": {
605
+ "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|fr|%)",
606
+ "name": "keyword.control.unit.css.sass"
607
+ },
608
+ "variable": {
609
+ "match": "\\$[a-zA-Z0-9_-]+",
610
+ "name": "variable.other.value"
611
+ },
612
+ "variable-root": {
613
+ "match": "\\$[a-zA-Z0-9_-]+",
614
+ "name": "variable.other.root"
615
+ }
616
+ },
617
+ "scopeName": "source.sass"
618
+ }