tm-grammars 1.17.7 → 1.17.8
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/README.md +99 -99
- package/grammars/abap.json +25 -25
- package/grammars/actionscript-3.json +1 -1
- package/grammars/angular-expression.json +1 -1
- package/grammars/angular-ts.json +26 -26
- package/grammars/apex.json +2 -2
- package/grammars/apl.json +1 -1
- package/grammars/applescript.json +3 -3
- package/grammars/ara.json +2 -2
- package/grammars/asm.json +17 -17
- package/grammars/astro.json +2 -2
- package/grammars/awk.json +2 -2
- package/grammars/ballerina.json +6 -6
- package/grammars/beancount.json +9 -9
- package/grammars/berry.json +2 -2
- package/grammars/bicep.json +1 -1
- package/grammars/blade.json +69 -69
- package/grammars/clojure.json +1 -1
- package/grammars/cobol.json +16 -16
- package/grammars/codeql.json +2 -2
- package/grammars/coffee.json +3 -3
- package/grammars/common-lisp.json +48 -48
- package/grammars/coq.json +1 -1
- package/grammars/cpp-macro.json +56 -56
- package/grammars/cpp.json +109 -109
- package/grammars/crystal.json +4 -4
- package/grammars/csharp.json +3 -3
- package/grammars/css.json +20 -20
- package/grammars/cue.json +6 -6
- package/grammars/d.json +2 -2
- package/grammars/dart.json +3 -3
- package/grammars/dotenv.json +1 -1
- package/grammars/dream-maker.json +3 -3
- package/grammars/elm.json +25 -25
- package/grammars/emacs-lisp.json +2 -2
- package/grammars/fish.json +1 -1
- package/grammars/fluent.json +1 -1
- package/grammars/fortran-free-form.json +38 -38
- package/grammars/fsharp.json +4 -4
- package/grammars/gdresource.json +4 -4
- package/grammars/gdscript.json +4 -4
- package/grammars/genie.json +1 -1
- package/grammars/gleam.json +1 -1
- package/grammars/glimmer-js.json +2 -2
- package/grammars/glimmer-ts.json +2 -2
- package/grammars/gnuplot.json +5 -5
- package/grammars/graphql.json +1 -1
- package/grammars/groovy.json +1 -1
- package/grammars/hack.json +14 -14
- package/grammars/handlebars.json +1 -1
- package/grammars/haskell.json +7 -7
- package/grammars/haxe.json +7 -7
- package/grammars/hlsl.json +6 -6
- package/grammars/html.json +3 -3
- package/grammars/http.json +1 -1
- package/grammars/hy.json +1 -1
- package/grammars/imba.json +17 -17
- package/grammars/java.json +3 -3
- package/grammars/javascript.json +27 -27
- package/grammars/jinja.json +7 -7
- package/grammars/jssm.json +2 -2
- package/grammars/jsx.json +27 -27
- package/grammars/julia.json +1 -1
- package/grammars/kusto.json +1 -1
- package/grammars/lean.json +1 -1
- package/grammars/less.json +4 -4
- package/grammars/liquid.json +1 -1
- package/grammars/log.json +1 -1
- package/grammars/lua.json +13 -13
- package/grammars/luau.json +13 -13
- package/grammars/markdown.json +3 -3
- package/grammars/matlab.json +1 -1
- package/grammars/mdc.json +2 -2
- package/grammars/mdx.json +15 -15
- package/grammars/mermaid.json +1 -1
- package/grammars/mojo.json +4 -4
- package/grammars/move.json +1 -1
- package/grammars/nginx.json +1 -1
- package/grammars/nim.json +1 -1
- package/grammars/nix.json +1 -1
- package/grammars/nushell.json +2 -2
- package/grammars/ocaml.json +3 -3
- package/grammars/perl.json +1 -1
- package/grammars/php.json +82 -82
- package/grammars/postcss.json +1 -1
- package/grammars/powershell.json +1 -1
- package/grammars/prisma.json +1 -1
- package/grammars/prolog.json +5 -5
- package/grammars/proto.json +3 -3
- package/grammars/pug.json +2 -2
- package/grammars/puppet.json +7 -7
- package/grammars/purescript.json +2 -2
- package/grammars/python.json +4 -4
- package/grammars/r.json +5 -5
- package/grammars/racket.json +3 -3
- package/grammars/reg.json +1 -1
- package/grammars/riscv.json +5 -5
- package/grammars/sas.json +1 -1
- package/grammars/sass.json +1 -1
- package/grammars/scala.json +4 -4
- package/grammars/scheme.json +1 -1
- package/grammars/scss.json +1 -1
- package/grammars/shaderlab.json +3 -3
- package/grammars/shellscript.json +3 -3
- package/grammars/smalltalk.json +5 -5
- package/grammars/solidity.json +1 -1
- package/grammars/sql.json +1 -1
- package/grammars/ssh-config.json +2 -2
- package/grammars/stata.json +8 -8
- package/grammars/stylus.json +1 -1
- package/grammars/svelte.json +1 -1
- package/grammars/swift.json +19 -19
- package/grammars/system-verilog.json +3 -3
- package/grammars/tcl.json +2 -2
- package/grammars/templ.json +1 -1
- package/grammars/tex.json +1 -1
- package/grammars/toml.json +5 -5
- package/grammars/tsx.json +27 -27
- package/grammars/turtle.json +1 -1
- package/grammars/twig.json +8 -8
- package/grammars/typescript.json +26 -26
- package/grammars/typespec.json +1 -1
- package/grammars/typst.json +1 -1
- package/grammars/v.json +3 -3
- package/grammars/vala.json +1 -1
- package/grammars/vb.json +1 -1
- package/grammars/verilog.json +5 -5
- package/grammars/vhdl.json +13 -13
- package/grammars/viml.json +2 -2
- package/grammars/vue-html.json +1 -1
- package/grammars/vyper.json +4 -4
- package/grammars/wasm.json +2 -2
- package/grammars/wgsl.json +3 -3
- package/grammars/wolfram.json +2 -2
- package/grammars/xml.json +1 -1
- package/grammars/yaml.json +2 -2
- package/grammars/zenscript.json +1 -1
- package/grammars/zig.json +3 -3
- package/index.js +137 -137
- package/package.json +1 -1
package/grammars/crystal.json
CHANGED
|
@@ -329,22 +329,22 @@
|
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
331
|
"comment": "Floating point literal (fraction)",
|
|
332
|
-
"match": "\\b[0-
|
|
332
|
+
"match": "\\b\\d[0-9_]*\\.\\d[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64)?\\b",
|
|
333
333
|
"name": "constant.numeric.float.crystal"
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
"comment": "Floating point literal (exponent)",
|
|
337
|
-
"match": "\\b[0-
|
|
337
|
+
"match": "\\b\\d[0-9_]*(\\.\\d[0-9_]*)?[eE][+-]?[0-9_]+(f32|f64)?\\b",
|
|
338
338
|
"name": "constant.numeric.float.crystal"
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
341
|
"comment": "Floating point literal (typed)",
|
|
342
|
-
"match": "\\b[0-
|
|
342
|
+
"match": "\\b\\d[0-9_]*(\\.\\d[0-9_]*)?([eE][+-]?[0-9_]+)?(f32|f64)\\b",
|
|
343
343
|
"name": "constant.numeric.float.crystal"
|
|
344
344
|
},
|
|
345
345
|
{
|
|
346
346
|
"comment": "Integer literal (decimal)",
|
|
347
|
-
"match": "\\b(?!0
|
|
347
|
+
"match": "\\b(?!0\\d)\\d[0-9_]*([ui](8|16|32|64|128))?\\b",
|
|
348
348
|
"name": "constant.numeric.integer.decimal.crystal"
|
|
349
349
|
},
|
|
350
350
|
{
|
package/grammars/csharp.json
CHANGED
|
@@ -3633,7 +3633,7 @@
|
|
|
3633
3633
|
"name": "constant.numeric.decimal.cs"
|
|
3634
3634
|
}
|
|
3635
3635
|
},
|
|
3636
|
-
"match": "
|
|
3636
|
+
"match": "\\d+"
|
|
3637
3637
|
},
|
|
3638
3638
|
{
|
|
3639
3639
|
"captures": {
|
|
@@ -3714,7 +3714,7 @@
|
|
|
3714
3714
|
]
|
|
3715
3715
|
}
|
|
3716
3716
|
},
|
|
3717
|
-
"match": "\\b(pragma)\\b\\s*\\b(warning)\\b\\s*\\b(?:(disable)|(restore))\\b(\\s
|
|
3717
|
+
"match": "\\b(pragma)\\b\\s*\\b(warning)\\b\\s*\\b(?:(disable)|(restore))\\b(\\s*\\d+(?:\\s*,\\s*\\d+)?)?"
|
|
3718
3718
|
},
|
|
3719
3719
|
"preprocessor-r": {
|
|
3720
3720
|
"begin": "\\b(r)\\b",
|
|
@@ -5584,7 +5584,7 @@
|
|
|
5584
5584
|
"name": "punctuation.definition.constant.cs"
|
|
5585
5585
|
}
|
|
5586
5586
|
},
|
|
5587
|
-
"match": "(&)((?:[A-Za-z:_][0-9A-Za-z:_.-]*)|(
|
|
5587
|
+
"match": "(&)((?:[A-Za-z:_][0-9A-Za-z:_.-]*)|(?:\\#\\d+)|(?:\\#x[0-9A-Fa-f]+))(;)",
|
|
5588
5588
|
"name": "constant.character.entity.cs"
|
|
5589
5589
|
},
|
|
5590
5590
|
{
|
package/grammars/css.json
CHANGED
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
"name": "entity.other.keyframe-offset.percentage.css"
|
|
440
440
|
}
|
|
441
441
|
},
|
|
442
|
-
"match": "(?
|
|
442
|
+
"match": "(?i)(?<![\\w-])(from|to)(?![\\w-])|([-+]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)%)"
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
445
|
"include": "#rule-list"
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
]
|
|
587
587
|
}
|
|
588
588
|
},
|
|
589
|
-
"match": "(?
|
|
589
|
+
"match": "(?i)(?:\\G|^|(?<=\\s))(?=(?<=\\s|^)(?:[-a-zA-Z_]|[^\\x00-\\x7F])|\\s*/\\*(?:[^*]|\\*[^/])*\\*/)(.*?)((?:[-a-zA-Z_]|[^\\x00-\\x7F])(?:[-a-zA-Z0-9_]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))*)"
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
"include": "#comment-block"
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
"name": "support.constant.color.w3c-standard-color-name.css"
|
|
672
672
|
},
|
|
673
673
|
{
|
|
674
|
-
"match": "(?
|
|
674
|
+
"match": "(?i)(?<![\\w-])(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|rebeccapurple|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|transparent|turquoise|violet|wheat|whitesmoke|yellowgreen)(?![\\w-])",
|
|
675
675
|
"name": "support.constant.color.w3c-extended-color-name.css"
|
|
676
676
|
},
|
|
677
677
|
{
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
"name": "support.constant.color.current.css"
|
|
680
680
|
},
|
|
681
681
|
{
|
|
682
|
-
"match": "(?
|
|
682
|
+
"match": "(?i)(?<![\\w-])(ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText)(?![\\w-])",
|
|
683
683
|
"name": "invalid.deprecated.color.system.css"
|
|
684
684
|
}
|
|
685
685
|
]
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
]
|
|
768
768
|
},
|
|
769
769
|
"font-features": {
|
|
770
|
-
"begin": "(?
|
|
770
|
+
"begin": "(?i)((@)(annotation|character-variant|ornaments|styleset|stylistic|swash))(?=[\\s@'\"{;]|/\\*|$)",
|
|
771
771
|
"beginCaptures": {
|
|
772
772
|
"1": {
|
|
773
773
|
"name": "keyword.control.at-rule.${3:/downcase}.css"
|
|
@@ -1038,7 +1038,7 @@
|
|
|
1038
1038
|
]
|
|
1039
1039
|
},
|
|
1040
1040
|
{
|
|
1041
|
-
"begin": "(?
|
|
1041
|
+
"begin": "(?i)(?<![\\w-])((?:-webkit-|-moz-|-o-)?(?:repeating-)?(?:linear|radial|conic)-gradient)(\\()",
|
|
1042
1042
|
"beginCaptures": {
|
|
1043
1043
|
"1": {
|
|
1044
1044
|
"name": "support.function.gradient.css"
|
|
@@ -1110,7 +1110,7 @@
|
|
|
1110
1110
|
]
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"begin": "(?
|
|
1113
|
+
"begin": "(?i)(?<![\\w-])(annotation|attr|blur|brightness|character-variant|clamp|contrast|counters?|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate|color-mix|image-set|invert|local|max|min|minmax|opacity|ornaments|repeat|saturate|sepia|styleset|stylistic|swash|symbols|cos|sin|tan|acos|asin|atan|atan2|hypot|sqrt|pow|log|exp|abs|sign)(\\()",
|
|
1114
1114
|
"beginCaptures": {
|
|
1115
1115
|
"1": {
|
|
1116
1116
|
"name": "support.function.misc.css"
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
]
|
|
1196
1196
|
},
|
|
1197
1197
|
{
|
|
1198
|
-
"begin": "(?
|
|
1198
|
+
"begin": "(?i)(?<![\\w-])((?:translate|scale|rotate)(?:[XYZ]|3D)?|matrix(?:3D)?|skew[XY]?|perspective)(\\()",
|
|
1199
1199
|
"beginCaptures": {
|
|
1200
1200
|
"1": {
|
|
1201
1201
|
"name": "support.function.transform.css"
|
|
@@ -1249,7 +1249,7 @@
|
|
|
1249
1249
|
]
|
|
1250
1250
|
},
|
|
1251
1251
|
"media-feature-keywords": {
|
|
1252
|
-
"match": "(?
|
|
1252
|
+
"match": "(?i)(?<=^|\\s|:|\\*/)(?:portrait|landscape|progressive|interlace|fullscreen|standalone|minimal-ui|browser|hover)(?=\\s|\\)|$)",
|
|
1253
1253
|
"name": "support.constant.property-value.css"
|
|
1254
1254
|
},
|
|
1255
1255
|
"media-features": {
|
|
@@ -1264,7 +1264,7 @@
|
|
|
1264
1264
|
"name": "support.type.vendored.property-name.media.css"
|
|
1265
1265
|
}
|
|
1266
1266
|
},
|
|
1267
|
-
"match": "(?
|
|
1267
|
+
"match": "(?i)(?<=^|\\s|\\(|\\*/)(?:((?:min-|max-)?(?:height|width|aspect-ratio|color|color-index|monochrome|resolution)|grid|scan|orientation|display-mode|hover)|((?:min-|max-)?device-(?:height|width|aspect-ratio))|((?:[-_](?:webkit|apple|khtml|epub|moz|ms|o|xv|ah|rim|atsc|hp|tc|wap|ro)|(?:mso|prince))-[\\w-]+(?=\\s*(?:/\\*(?:[^*]|\\*[^/])*\\*/)?\\s*[:)])))(?=\\s|$|[><:=]|\\)|/\\*)"
|
|
1268
1268
|
},
|
|
1269
1269
|
"media-query": {
|
|
1270
1270
|
"begin": "\\G",
|
|
@@ -1365,7 +1365,7 @@
|
|
|
1365
1365
|
"name": "invalid.deprecated.constant.media.css"
|
|
1366
1366
|
}
|
|
1367
1367
|
},
|
|
1368
|
-
"match": "(?
|
|
1368
|
+
"match": "(?i)(?<=^|\\s|,|\\*/)(?:(all|print|screen|speech)|(aural|braille|embossed|handheld|projection|tty|tv))(?=$|[{,\\s;]|/\\*)"
|
|
1369
1369
|
},
|
|
1370
1370
|
"numeric-values": {
|
|
1371
1371
|
"patterns": [
|
|
@@ -1387,7 +1387,7 @@
|
|
|
1387
1387
|
"name": "keyword.other.unit.${2:/downcase}.css"
|
|
1388
1388
|
}
|
|
1389
1389
|
},
|
|
1390
|
-
"match": "(?
|
|
1390
|
+
"match": "(?i)(?<![\\w-])[-+]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:(?<=\\d)E[-+]?\\d+)?(?:(%)|(deg|grad|rad|turn|Hz|kHz|ch|cm|em|ex|fr|in|mm|mozmm|pc|pt|px|q|rem|rch|rex|rlh|ic|ric|rcap|vh|vw|vb|vi|svh|svw|svb|svi|dvh|dvw|dvb|dvi|lvh|lvw|lvb|lvi|vmax|vmin|cqw|cqi|cqh|cqb|cqmin|cqmax|dpi|dpcm|dppx|s|ms)\\b)?",
|
|
1391
1391
|
"name": "constant.numeric.css"
|
|
1392
1392
|
}
|
|
1393
1393
|
]
|
|
@@ -1395,11 +1395,11 @@
|
|
|
1395
1395
|
"property-keywords": {
|
|
1396
1396
|
"patterns": [
|
|
1397
1397
|
{
|
|
1398
|
-
"match": "(?
|
|
1398
|
+
"match": "(?i)(?<![\\w-])(above|absolute|active|add|additive|after-edge|alias|all|all-petite-caps|all-scroll|all-small-caps|alpha|alphabetic|alternate|alternate-reverse|always|antialiased|auto|auto-fill|auto-fit|auto-pos|available|avoid|avoid-column|avoid-page|avoid-region|backwards|balance|baseline|before-edge|below|bevel|bidi-override|blink|block|block-axis|block-start|block-end|bold|bolder|border|border-box|both|bottom|bottom-outside|break-all|break-word|bullets|butt|capitalize|caption|cell|center|central|char|circle|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color|color-burn|color-dodge|column|column-reverse|common-ligatures|compact|condensed|contain|content|content-box|contents|context-menu|contextual|copy|cover|crisp-edges|crispEdges|crosshair|cyclic|dark|darken|dashed|decimal|default|dense|diagonal-fractions|difference|digits|disabled|disc|discretionary-ligatures|distribute|distribute-all-lines|distribute-letter|distribute-space|dot|dotted|double|double-circle|downleft|downright|e-resize|each-line|ease|ease-in|ease-in-out|ease-out|economy|ellipse|ellipsis|embed|end|evenodd|ew-resize|exact|exclude|exclusion|expanded|extends|extra-condensed|extra-expanded|fallback|farthest-corner|farthest-side|fill|fill-available|fill-box|filled|fit-content|fixed|flat|flex|flex-end|flex-start|flip|flow-root|forwards|freeze|from-image|full-width|geometricPrecision|georgian|grab|grabbing|grayscale|grid|groove|hand|hanging|hard-light|help|hidden|hide|historical-forms|historical-ligatures|horizontal|horizontal-tb|hue|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|infinite|inherit|initial|inline|inline-axis|inline-block|inline-end|inline-flex|inline-grid|inline-list-item|inline-start|inline-table|inset|inside|inter-character|inter-ideograph|inter-word|intersect|invert|isolate|isolate-override|italic|jis04|jis78|jis83|jis90|justify|justify-all|kannada|keep-all|landscape|large|larger|left|light|lighten|lighter|line|line-edge|line-through|linear|linearRGB|lining-nums|list-item|local|loose|lowercase|lr|lr-tb|ltr|luminance|luminosity|main-size|mandatory|manipulation|manual|margin-box|match-parent|match-source|mathematical|max-content|medium|menu|message-box|middle|min-content|miter|mixed|move|multiply|n-resize|narrower|ne-resize|nearest-neighbor|nesw-resize|newspaper|no-change|no-clip|no-close-quote|no-common-ligatures|no-contextual|no-discretionary-ligatures|no-drop|no-historical-ligatures|no-open-quote|no-repeat|none|nonzero|normal|not-allowed|nowrap|ns-resize|numbers|numeric|nw-resize|nwse-resize|oblique|oldstyle-nums|open|open-quote|optimizeLegibility|optimizeQuality|optimizeSpeed|optional|ordinal|outset|outside|over|overlay|overline|padding|padding-box|page|painted|pan-down|pan-left|pan-right|pan-up|pan-x|pan-y|paused|petite-caps|pixelated|plaintext|pointer|portrait|pre|pre-line|pre-wrap|preserve-3d|progress|progressive|proportional-nums|proportional-width|proximity|radial|recto|region|relative|remove|repeat|repeat-[xy]|reset-size|reverse|revert|ridge|right|rl|rl-tb|round|row|row-resize|row-reverse|row-severse|rtl|ruby|ruby-base|ruby-base-container|ruby-text|ruby-text-container|run-in|running|s-resize|saturation|scale-down|screen|scroll|scroll-position|se-resize|semi-condensed|semi-expanded|separate|sesame|show|sideways|sideways-left|sideways-lr|sideways-right|sideways-rl|simplified|slashed-zero|slice|small|small-caps|small-caption|smaller|smooth|soft-light|solid|space|space-around|space-between|space-evenly|spell-out|square|sRGB|stacked-fractions|start|static|status-bar|swap|step-end|step-start|sticky|stretch|strict|stroke|stroke-box|style|sub|subgrid|subpixel-antialiased|subtract|super|sw-resize|symbolic|table|table-caption|table-cell|table-column|table-column-group|table-footer-group|table-header-group|table-row|table-row-group|tabular-nums|tb|tb-rl|text|text-after-edge|text-before-edge|text-bottom|text-top|thick|thin|titling-caps|top|top-outside|touch|traditional|transparent|triangle|ultra-condensed|ultra-expanded|under|underline|unicase|unset|upleft|uppercase|upright|use-glyph-orientation|use-script|verso|vertical|vertical-ideographic|vertical-lr|vertical-rl|vertical-text|view-box|visible|visibleFill|visiblePainted|visibleStroke|w-resize|wait|wavy|weight|whitespace|wider|words|wrap|wrap-reverse|x|x-large|x-small|xx-large|xx-small|y|zero|zoom-in|zoom-out)(?![\\w-])",
|
|
1399
1399
|
"name": "support.constant.property-value.css"
|
|
1400
1400
|
},
|
|
1401
1401
|
{
|
|
1402
|
-
"match": "(?
|
|
1402
|
+
"match": "(?i)(?<![\\w-])(arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|cjk-ideographic|decimal|decimal-leading-zero|devanagari|disc|disclosure-closed|disclosure-open|ethiopic-halehame-am|ethiopic-halehame-ti-e[rt]|ethiopic-numeric|georgian|gujarati|gurmukhi|hangul|hangul-consonant|hebrew|hiragana|hiragana-iroha|japanese-formal|japanese-informal|kannada|katakana|katakana-iroha|khmer|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian|upper-latin|upper-roman|urdu)(?![\\w-])",
|
|
1403
1403
|
"name": "support.constant.property-value.list-style-type.css"
|
|
1404
1404
|
},
|
|
1405
1405
|
{
|
|
@@ -1415,7 +1415,7 @@
|
|
|
1415
1415
|
"property-names": {
|
|
1416
1416
|
"patterns": [
|
|
1417
1417
|
{
|
|
1418
|
-
"match": "(?xi) (?<![\\w-])\n(?:\n # Standard CSS\n accent-color|additive-symbols|align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration\n | animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backdrop-filter\n | backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image\n | background-origin|background-position|background-position-[xy]|background-repeat|background-size|bleed|block-size|border\n | border-block-end|border-block-end-color|border-block-end-style|border-block-end-width|border-block-start|border-block-start-color\n | border-block-start-style|border-block-start-width|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius\n | border-bottom-style|border-bottom-width|border-collapse|border-color|border-end-end-radius|border-end-start-radius|border-image\n | border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-inline-end\n | border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-start|border-inline-start-color\n | border-inline-start-style|border-inline-start-width|border-left|border-left-color|border-left-style|border-left-width\n | border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-start-end-radius\n | border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style\n | border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side\n | caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap\n | column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment\n | counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis\n | flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family\n | font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch\n | font-style|font-synthesis|font-variant|font-variant-alternates|font-variant-caps|font-variant-east-asian|font-variant-ligatures\n | font-variant-numeric|font-variant-position|font-variation-settings|font-weight|gap|glyph-orientation-horizontal|glyph-orientation-vertical\n | grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-gap|grid-column-start\n | grid-gap|grid-row|grid-row-end|grid-row-gap|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows\n | hanging-punctuation|height|hyphens|image-orientation|image-rendering|image-resolution|ime-mode|initial-letter|initial-letter-align\n | inline-size|inset|inset-block|inset-block-end|inset-block-start|inset-inline|inset-inline-end|inset-inline-start|isolation\n | justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-break|line-clamp|line-height|list-style\n | list-style-image|list-style-position|list-style-type|margin|margin-block|margin-block-end|margin-block-start|margin-bottom|margin-inline|margin-inline-end|margin-inline-start\n | margin-left|margin-right|margin-top|marker-end|marker-mid|marker-start|marks|mask|mask-border|mask-border-mode|mask-border-outset\n | mask-border-repeat|mask-border-slice|mask-border-source|mask-border-width|mask-clip|mask-composite|mask-image|mask-mode\n | mask-origin|mask-position|mask-repeat|mask-size|mask-type|max-block-size|max-height|max-inline-size|max-lines|max-width\n | max-zoom|min-block-size|min-height|min-inline-size|min-width|min-zoom|mix-blend-mode|negative|object-fit|object-position\n | offset|offset-anchor|offset-distance|offset-path|offset-position|offset-rotation|opacity|order|orientation|orphans\n | outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-anchor|overflow-block|overflow-inline\n | overflow-wrap|overflow-[xy]|overscroll-behavior|overscroll-behavior-block|overscroll-behavior-inline|overscroll-behavior-[xy]\n | pad|padding|padding-block|padding-block-end|padding-block-start|padding-bottom|padding-inline|padding-inline-end|padding-inline-start|padding-left\n | padding-right|padding-top|page-break-after|page-break-before|page-break-inside|paint-order|perspective|perspective-origin\n | place-content|place-items|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|row-gap|ruby-align\n | ruby-merge|ruby-position|scale|scroll-behavior|scroll-margin|scroll-margin-block|scroll-margin-block-end|scroll-margin-block-start\n | scroll-margin-bottom|scroll-margin-inline|scroll-margin-inline-end|scroll-margin-inline-start|scroll-margin-left|scroll-margin-right\n | scroll-margin-top|scroll-padding|scroll-padding-block|scroll-padding-block-end|scroll-padding-block-start|scroll-padding-bottom\n | scroll-padding-inline|scroll-padding-inline-end|scroll-padding-inline-start|scroll-padding-left|scroll-padding-right\n | scroll-padding-top|scroll-snap-align|scroll-snap-coordinate|scroll-snap-destination|scroll-snap-stop|scroll-snap-type\n | scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size\n | speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit\n | stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright\n | text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness\n | text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation\n | text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform\n | transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function\n | translate|unicode-bidi|unicode-range|user-select|user-zoom|vertical-align|visibility|white-space|widows|width|will-change\n | word-break|word-spacing|word-wrap|writing-mode|z-index|zoom\n\n # SVG attributes\n | alignment-baseline|baseline-shift|clip-rule|color-interpolation|color-interpolation-filters|color-profile\n | color-rendering|cx|cy|dominant-baseline|enable-background|fill|fill-opacity|fill-rule|flood-color|flood-opacity\n | glyph-orientation-horizontal|glyph-orientation-vertical|height|kerning|lighting-color|marker-end|marker-mid\n | marker-start|r|rx|ry|shape-rendering|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap\n | stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|text-anchor|width|x|y\n\n # Not listed on MDN; presumably deprecated\n | adjust|after|align|align-last|alignment|alignment-adjust|appearance|attachment|azimuth|background-break\n | balance|baseline|before|bidi|binding|bookmark|bookmark-label|bookmark-level|bookmark-target|border-length\n | bottom-color|bottom-left-radius|bottom-right-radius|bottom-style|bottom-width|box|box-align|box-direction\n | box-flex|box-flex-group|box-lines|box-ordinal-group|box-orient|box-pack|break|character|collapse|column\n | column-break-after|column-break-before|count|counter|crop|cue|cue-after|cue-before|decoration|decoration-break\n | delay|display-model|display-role|down|drop|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust\n | drop-initial-before-align|drop-initial-size|drop-initial-value|duration|elevation|emphasis|family|fit|fit-position\n | flex-group|float-offset|gap|grid-columns|grid-rows|hanging-punctuation|header|hyphenate|hyphenate-after|hyphenate-before\n | hyphenate-character|hyphenate-lines|hyphenate-resource|icon|image|increment|indent|index|initial-after-adjust\n | initial-after-align|initial-before-adjust|initial-before-align|initial-size|initial-value|inline-box-align|iteration-count\n | justify|label|left-color|left-style|left-width|length|level|line|line-stacking|line-stacking-ruby|line-stacking-shift\n | line-stacking-strategy|lines|list|mark|mark-after|mark-before|marks|marquee|marquee-direction|marquee-play-count|marquee-speed\n | marquee-style|max|min|model|move-to|name|nav|nav-down|nav-index|nav-left|nav-right|nav-up|new|numeral|offset|ordinal-group\n | orient|origin|overflow-style|overhang|pack|page|page-policy|pause|pause-after|pause-before|phonemes|pitch|pitch-range\n | play-count|play-during|play-state|point|presentation|presentation-level|profile|property|punctuation|punctuation-trim\n | radius|rate|rendering-intent|repeat|replace|reset|resolution|resource|respond-to|rest|rest-after|rest-before|richness\n | right-color|right-style|right-width|role|rotation|rotation-point|rows|ruby|ruby-overhang|ruby-span|rule|rule-color\n | rule-style|rule-width|shadow|size|size-adjust|sizing|space|space-collapse|spacing|span|speak|speak-header|speak-numeral\n | speak-punctuation|speech|speech-rate|speed|stacking|stacking-ruby|stacking-shift|stacking-strategy|stress|stretch\n | string-set|style|style-image|style-position|style-type|target|target-name|target-new|target-position|text|text-height\n | text-justify|text-outline|text-replace|text-wrap|timing-function|top-color|top-left-radius|top-right-radius|top-style\n | top-width|trim|unicode|up|user-select|variant|voice|voice-balance|voice-duration|voice-family|voice-pitch|voice-pitch-range\n | voice-rate|voice-stress|voice-volume|volume|weight|white|white-space-collapse|word|wrap\n)\n(?![\\w-])",
|
|
1418
|
+
"match": "(?i)(?<![\\w-])(?:accent-color|additive-symbols|align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backdrop-filter|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-position-[xy]|background-repeat|background-size|bleed|block-size|border|border-block-end|border-block-end-color|border-block-end-style|border-block-end-width|border-block-start|border-block-start-color|border-block-start-style|border-block-start-width|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-end-end-radius|border-end-start-radius|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-inline-end|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-start|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-start-end-radius|border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side|caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch|font-style|font-synthesis|font-variant|font-variant-alternates|font-variant-caps|font-variant-east-asian|font-variant-ligatures|font-variant-numeric|font-variant-position|font-variation-settings|font-weight|gap|glyph-orientation-horizontal|glyph-orientation-vertical|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-gap|grid-column-start|grid-gap|grid-row|grid-row-end|grid-row-gap|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|hanging-punctuation|height|hyphens|image-orientation|image-rendering|image-resolution|ime-mode|initial-letter|initial-letter-align|inline-size|inset|inset-block|inset-block-end|inset-block-start|inset-inline|inset-inline-end|inset-inline-start|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-break|line-clamp|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-block|margin-block-end|margin-block-start|margin-bottom|margin-inline|margin-inline-end|margin-inline-start|margin-left|margin-right|margin-top|marker-end|marker-mid|marker-start|marks|mask|mask-border|mask-border-mode|mask-border-outset|mask-border-repeat|mask-border-slice|mask-border-source|mask-border-width|mask-clip|mask-composite|mask-image|mask-mode|mask-origin|mask-position|mask-repeat|mask-size|mask-type|max-block-size|max-height|max-inline-size|max-lines|max-width|max-zoom|min-block-size|min-height|min-inline-size|min-width|min-zoom|mix-blend-mode|negative|object-fit|object-position|offset|offset-anchor|offset-distance|offset-path|offset-position|offset-rotation|opacity|order|orientation|orphans|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-anchor|overflow-block|overflow-inline|overflow-wrap|overflow-[xy]|overscroll-behavior|overscroll-behavior-block|overscroll-behavior-inline|overscroll-behavior-[xy]|pad|padding|padding-block|padding-block-end|padding-block-start|padding-bottom|padding-inline|padding-inline-end|padding-inline-start|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|paint-order|perspective|perspective-origin|place-content|place-items|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|row-gap|ruby-align|ruby-merge|ruby-position|scale|scroll-behavior|scroll-margin|scroll-margin-block|scroll-margin-block-end|scroll-margin-block-start|scroll-margin-bottom|scroll-margin-inline|scroll-margin-inline-end|scroll-margin-inline-start|scroll-margin-left|scroll-margin-right|scroll-margin-top|scroll-padding|scroll-padding-block|scroll-padding-block-end|scroll-padding-block-start|scroll-padding-bottom|scroll-padding-inline|scroll-padding-inline-end|scroll-padding-inline-start|scroll-padding-left|scroll-padding-right|scroll-padding-top|scroll-snap-align|scroll-snap-coordinate|scroll-snap-destination|scroll-snap-stop|scroll-snap-type|scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size|speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright|text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness|text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation|text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform|transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|translate|unicode-bidi|unicode-range|user-select|user-zoom|vertical-align|visibility|white-space|widows|width|will-change|word-break|word-spacing|word-wrap|writing-mode|z-index|zoom|alignment-baseline|baseline-shift|clip-rule|color-interpolation|color-interpolation-filters|color-profile|color-rendering|cx|cy|dominant-baseline|enable-background|fill|fill-opacity|fill-rule|flood-color|flood-opacity|glyph-orientation-horizontal|glyph-orientation-vertical|height|kerning|lighting-color|marker-end|marker-mid|marker-start|r|rx|ry|shape-rendering|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|text-anchor|width|x|y|adjust|after|align|align-last|alignment|alignment-adjust|appearance|attachment|azimuth|background-break|balance|baseline|before|bidi|binding|bookmark|bookmark-label|bookmark-level|bookmark-target|border-length|bottom-color|bottom-left-radius|bottom-right-radius|bottom-style|bottom-width|box|box-align|box-direction|box-flex|box-flex-group|box-lines|box-ordinal-group|box-orient|box-pack|break|character|collapse|column|column-break-after|column-break-before|count|counter|crop|cue|cue-after|cue-before|decoration|decoration-break|delay|display-model|display-role|down|drop|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust|drop-initial-before-align|drop-initial-size|drop-initial-value|duration|elevation|emphasis|family|fit|fit-position|flex-group|float-offset|gap|grid-columns|grid-rows|hanging-punctuation|header|hyphenate|hyphenate-after|hyphenate-before|hyphenate-character|hyphenate-lines|hyphenate-resource|icon|image|increment|indent|index|initial-after-adjust|initial-after-align|initial-before-adjust|initial-before-align|initial-size|initial-value|inline-box-align|iteration-count|justify|label|left-color|left-style|left-width|length|level|line|line-stacking|line-stacking-ruby|line-stacking-shift|line-stacking-strategy|lines|list|mark|mark-after|mark-before|marks|marquee|marquee-direction|marquee-play-count|marquee-speed|marquee-style|max|min|model|move-to|name|nav|nav-down|nav-index|nav-left|nav-right|nav-up|new|numeral|offset|ordinal-group|orient|origin|overflow-style|overhang|pack|page|page-policy|pause|pause-after|pause-before|phonemes|pitch|pitch-range|play-count|play-during|play-state|point|presentation|presentation-level|profile|property|punctuation|punctuation-trim|radius|rate|rendering-intent|repeat|replace|reset|resolution|resource|respond-to|rest|rest-after|rest-before|richness|right-color|right-style|right-width|role|rotation|rotation-point|rows|ruby|ruby-overhang|ruby-span|rule|rule-color|rule-style|rule-width|shadow|size|size-adjust|sizing|space|space-collapse|spacing|span|speak|speak-header|speak-numeral|speak-punctuation|speech|speech-rate|speed|stacking|stacking-ruby|stacking-shift|stacking-strategy|stress|stretch|string-set|style|style-image|style-position|style-type|target|target-name|target-new|target-position|text|text-height|text-justify|text-outline|text-replace|text-wrap|timing-function|top-color|top-left-radius|top-right-radius|top-style|top-width|trim|unicode|up|user-select|variant|voice|voice-balance|voice-duration|voice-family|voice-pitch|voice-pitch-range|voice-rate|voice-stress|voice-volume|volume|weight|white|white-space-collapse|word|wrap)(?![\\w-])",
|
|
1419
1419
|
"name": "support.type.property-name.css"
|
|
1420
1420
|
},
|
|
1421
1421
|
{
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
"name": "invalid.illegal.colon.css"
|
|
1469
1469
|
}
|
|
1470
1470
|
},
|
|
1471
|
-
"match": "(?
|
|
1471
|
+
"match": "(?i)(:)(:*)(?:active|any-link|checked|default|disabled|empty|enabled|first|(?:first|last|only)-(?:child|of-type)|focus|focus-visible|focus-within|fullscreen|host|hover|in-range|indeterminate|invalid|left|link|optional|out-of-range|read-only|read-write|required|right|root|scope|target|unresolved|valid|visited)(?![\\w-]|\\s*[;}])",
|
|
1472
1472
|
"name": "entity.other.attribute-name.pseudo-class.css"
|
|
1473
1473
|
},
|
|
1474
1474
|
"pseudo-elements": {
|
|
@@ -1480,7 +1480,7 @@
|
|
|
1480
1480
|
"name": "punctuation.definition.entity.css"
|
|
1481
1481
|
}
|
|
1482
1482
|
},
|
|
1483
|
-
"match": "(?
|
|
1483
|
+
"match": "(?i)(?:(::?)(?:after|before|first-letter|first-line|(?:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[a-z-]+)|(::)(?:backdrop|content|grammar-error|marker|placeholder|selection|shadow|spelling-error))(?![\\w-]|\\s*[;}])",
|
|
1484
1484
|
"name": "entity.other.attribute-name.pseudo-element.css"
|
|
1485
1485
|
},
|
|
1486
1486
|
"rule-list": {
|
|
@@ -1612,7 +1612,7 @@
|
|
|
1612
1612
|
]
|
|
1613
1613
|
}
|
|
1614
1614
|
},
|
|
1615
|
-
"match": "(?<![@\\w-])([.\\#])((
|
|
1615
|
+
"match": "(?<![@\\w-])([.\\#])((?:-?\\d|-(?=$|[\\s,.\\#)\\[:{>+~|]|/\\*)|(?:[-a-zA-Z_0-9]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))*(?:[!\"'%&(*;<?@^`|\\]}]|/(?!\\*))+)(?:[-a-zA-Z_0-9]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))*)",
|
|
1616
1616
|
"name": "invalid.illegal.bad-identifier.css"
|
|
1617
1617
|
},
|
|
1618
1618
|
{
|
|
@@ -1644,7 +1644,7 @@
|
|
|
1644
1644
|
]
|
|
1645
1645
|
}
|
|
1646
1646
|
},
|
|
1647
|
-
"match": "(\\#)(-?(
|
|
1647
|
+
"match": "(\\#)(-?(?!\\d)(?:[-a-zA-Z0-9_]|[^\\x00-\\x7F]|\\\\(?:[0-9a-fA-F]{1,6}|.))+)(?=$|[\\s,.\\#)\\[:{>+~|]|/\\*)",
|
|
1648
1648
|
"name": "entity.other.attribute-name.id.css"
|
|
1649
1649
|
},
|
|
1650
1650
|
{
|
|
@@ -1808,7 +1808,7 @@
|
|
|
1808
1808
|
]
|
|
1809
1809
|
},
|
|
1810
1810
|
"tag-names": {
|
|
1811
|
-
"match": "(?
|
|
1811
|
+
"match": "(?i)(?<![\\w:-])(?:a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdi|bdo|bgsound|big|blink|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|content|data|datalist|dd|del|details|dfn|dialog|dir|div|dl|dt|element|em|embed|fieldset|figcaption|figure|font|footer|form|frame|frameset|h[1-6]|head|header|hgroup|hr|html|i|iframe|image|img|input|ins|isindex|kbd|keygen|label|legend|li|link|listing|main|map|mark|marquee|math|menu|menuitem|meta|meter|multicol|nav|nextid|nobr|noembed|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|plaintext|pre|progress|q|rb|rp|rt|rtc|ruby|s|samp|script|section|select|shadow|slot|small|source|spacer|span|strike|strong|style|sub|summary|sup|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|tt|u|ul|var|video|wbr|xmp|altGlyph|altGlyphDef|altGlyphItem|animate|animateColor|animateMotion|animateTransform|circle|clipPath|color-profile|cursor|defs|desc|discard|ellipse|feBlend|feColorMatrix|feComponentTransfer|feComposite|feConvolveMatrix|feDiffuseLighting|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feImage|feMerge|feMergeNode|feMorphology|feOffset|fePointLight|feSpecularLighting|feSpotLight|feTile|feTurbulence|filter|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|foreignObject|g|glyph|glyphRef|hatch|hatchpath|hkern|line|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|metadata|missing-glyph|mpath|path|pattern|polygon|polyline|radialGradient|rect|set|solidcolor|stop|svg|switch|symbol|text|textPath|tref|tspan|use|view|vkern|annotation|annotation-xml|maction|maligngroup|malignmark|math|menclose|merror|mfenced|mfrac|mglyph|mi|mlabeledtr|mlongdiv|mmultiscripts|mn|mo|mover|mpadded|mphantom|mroot|mrow|ms|mscarries|mscarry|msgroup|msline|mspace|msqrt|msrow|mstack|mstyle|msub|msubsup|msup|mtable|mtd|mtext|mtr|munder|munderover|semantics)(?=[+~>\\s,.\\#|){:\\[]|/\\*|$)",
|
|
1812
1812
|
"name": "entity.name.tag.css"
|
|
1813
1813
|
},
|
|
1814
1814
|
"unicode-range": {
|
package/grammars/cue.json
CHANGED
|
@@ -365,15 +365,15 @@
|
|
|
365
365
|
{
|
|
366
366
|
"patterns": [
|
|
367
367
|
{
|
|
368
|
-
"match": "(?<![\\p{L}\\p{Nd}_\\.])
|
|
368
|
+
"match": "(?<![\\p{L}\\p{Nd}_\\.])\\d(?:_?\\d)*\\.(?:\\d(?:_?\\d)*)?(?:[eE][\\+\\-]?\\d(?:_?\\d)*)?(?![\\p{L}\\p{Nd}_\\.])",
|
|
369
369
|
"name": "constant.numeric.float.decimal"
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
|
-
"match": "(?<![\\p{L}\\p{Nd}_\\.])
|
|
372
|
+
"match": "(?<![\\p{L}\\p{Nd}_\\.])\\d(?:_?\\d)*[eE][\\+\\-]?\\d(?:_?\\d)*(?![\\p{L}\\p{Nd}_\\.])",
|
|
373
373
|
"name": "constant.numeric.float.decimal"
|
|
374
374
|
},
|
|
375
375
|
{
|
|
376
|
-
"match": "(?<![\\p{L}\\p{Nd}_\\.])
|
|
376
|
+
"match": "(?<![\\p{L}\\p{Nd}_\\.])\\.\\d(?:_?\\d)*(?:[eE][\\+\\-]?\\d(?:_?\\d)*)?(?![\\p{L}\\p{Nd}_\\.])",
|
|
377
377
|
"name": "constant.numeric.float.decimal"
|
|
378
378
|
}
|
|
379
379
|
]
|
|
@@ -383,17 +383,17 @@
|
|
|
383
383
|
{
|
|
384
384
|
"patterns": [
|
|
385
385
|
{
|
|
386
|
-
"match": "(?<![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_
|
|
386
|
+
"match": "(?<![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_?\\d)*)(?:\\.\\d(?:_?\\d)*)?(?:[KMGTPEYZ]i?)(?![\\p{L}\\p{Nd}_\\.])",
|
|
387
387
|
"name": "constant.numeric.integer.other"
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
|
-
"match": "(?<![\\p{L}\\p{Nd}_\\.])
|
|
390
|
+
"match": "(?<![\\p{L}\\p{Nd}_\\.])\\.\\d(?:_?\\d)*(?:[KMGTPEYZ]i?)(?![\\p{L}\\p{Nd}_\\.])",
|
|
391
391
|
"name": "constant.numeric.integer.other"
|
|
392
392
|
}
|
|
393
393
|
]
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
|
-
"match": "(?<![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_
|
|
396
|
+
"match": "(?<![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_?\\d)*)(?![\\p{L}\\p{Nd}_\\.])",
|
|
397
397
|
"name": "constant.numeric.integer.decimal"
|
|
398
398
|
},
|
|
399
399
|
{
|
package/grammars/d.json
CHANGED
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
"decimal-float": {
|
|
627
627
|
"patterns": [
|
|
628
628
|
{
|
|
629
|
-
"match": "\\b((
|
|
629
|
+
"match": "\\b((\\.\\d)|(0\\.)|(([1-9]|(0[1-9_]))[0-9_]*\\.))[0-9_]*((e-|E-|e\\+|E\\+|e|E)\\d[0-9_]*)?[LfF]?i?\\b",
|
|
630
630
|
"name": "constant.numeric.float.decimal.d"
|
|
631
631
|
}
|
|
632
632
|
]
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
"hexadecimal-float": {
|
|
1295
1295
|
"patterns": [
|
|
1296
1296
|
{
|
|
1297
|
-
"match": "\\b0[xX][0-9a-fA-F_]*(\\.[0-9a-fA-F_]*)?(p-|P-|p\\+|P\\+|p|P)[0-
|
|
1297
|
+
"match": "\\b0[xX][0-9a-fA-F_]*(\\.[0-9a-fA-F_]*)?(p-|P-|p\\+|P\\+|p|P)\\d[0-9_]*[LfF]?i?\\b",
|
|
1298
1298
|
"name": "constant.numeric.float.hexadecimal.d"
|
|
1299
1299
|
}
|
|
1300
1300
|
]
|
package/grammars/dart.json
CHANGED
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"name": "variable.language.dart"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
"match": "(?<!\\$)\\b((0(x|X)[0-9a-fA-F]*)|((
|
|
193
|
+
"match": "(?<!\\$)\\b((0(x|X)[0-9a-fA-F]*)|((\\d+\\.?\\d*)|(\\.\\d+))((e|E)(\\+|-)?\\d+)?)\\b(?!\\$)",
|
|
194
194
|
"name": "constant.numeric.dart"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"include": "#strings"
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
|
-
"match": "
|
|
254
|
+
"match": "\\w+",
|
|
255
255
|
"name": "variable.parameter.dart"
|
|
256
256
|
},
|
|
257
257
|
{
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
"name": "variable.parameter.dart"
|
|
401
401
|
}
|
|
402
402
|
},
|
|
403
|
-
"match": "\\$(
|
|
403
|
+
"match": "\\$(\\w+)",
|
|
404
404
|
"name": "meta.embedded.expression.dart"
|
|
405
405
|
},
|
|
406
406
|
{
|
package/grammars/dotenv.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"name": "meta.initialization.dm"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
"match": "\\b((0(x|X)[0-9a-fA-F]*)|((
|
|
42
|
+
"match": "\\b((0(x|X)[0-9a-fA-F]*)|((\\d+\\.?\\d*)|(\\.\\d+))((e|E)(\\+|-)?\\d+)?)\\b",
|
|
43
43
|
"name": "constant.numeric.dm"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
]
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
"begin": "^\\s*((\\#)\\s*define)\\s+((?<id>[a-zA-Z_]
|
|
144
|
+
"begin": "^\\s*((\\#)\\s*define)\\s+((?<id>[a-zA-Z_]\\w*))(?:(\\()(\\s*\\g<id>\\s*((,)\\s*\\g<id>\\s*)*(?:\\.\\.\\.)?)(\\)))",
|
|
145
145
|
"beginCaptures": {
|
|
146
146
|
"1": {
|
|
147
147
|
"name": "keyword.control.directive.define.dm"
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
]
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
|
-
"begin": "^\\s*((\\#)\\s*define)\\s+((?<id>[a-zA-Z_]
|
|
177
|
+
"begin": "^\\s*((\\#)\\s*define)\\s+((?<id>[a-zA-Z_]\\w*))",
|
|
178
178
|
"beginCaptures": {
|
|
179
179
|
"1": {
|
|
180
180
|
"name": "keyword.control.directive.define.dm"
|
package/grammars/elm.json
CHANGED
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"comment": "Floats are always decimal",
|
|
44
|
-
"match": "\\b(
|
|
44
|
+
"match": "\\b(\\d+\\.\\d+([eE][+-]?\\d+)?|\\d+[eE][+-]?\\d+)\\b",
|
|
45
45
|
"name": "constant.numeric.float.elm"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"match": "\\b(
|
|
48
|
+
"match": "\\b(\\d+)\\b",
|
|
49
49
|
"name": "constant.numeric.elm"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"name": "entity.name.record.field.elm"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
|
-
"match": "(\\{)\\s+([a-z]
|
|
82
|
+
"match": "(\\{)\\s+([a-z]\\w*)\\s+(\\|)\\s+([a-z]\\w*)",
|
|
83
83
|
"name": "meta.record.field.update.elm"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"name": "keyword.operator.assignment.elm"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
-
"match": "(\\|)\\s+([a-z]
|
|
97
|
+
"match": "(\\|)\\s+([a-z]\\w*)\\s+(\\=)",
|
|
98
98
|
"name": "meta.record.field.update.elm"
|
|
99
99
|
},
|
|
100
100
|
{
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"name": "record.name.elm"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"match": "(\\{)\\s+([a-z]
|
|
109
|
+
"match": "(\\{)\\s+([a-z]\\w*)\\s+$",
|
|
110
110
|
"name": "meta.record.field.update.elm"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"name": "keyword.operator.assignment.elm"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
"match": "(\\{)\\s+([a-z]
|
|
124
|
+
"match": "(\\{)\\s+([a-z]\\w*)\\s+(\\=)",
|
|
125
125
|
"name": "meta.record.field.elm"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"name": "keyword.operator.assignment.elm"
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
|
-
"match": "(,)\\s+([a-z]
|
|
139
|
+
"match": "(,)\\s+([a-z]\\w*)\\s+(\\=)",
|
|
140
140
|
"name": "meta.record.field.elm"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
]
|
|
252
252
|
},
|
|
253
253
|
"constructor": {
|
|
254
|
-
"match": "\\b[A-Z]
|
|
254
|
+
"match": "\\b[A-Z]\\w*\\b",
|
|
255
255
|
"name": "constant.type-constructor.elm"
|
|
256
256
|
},
|
|
257
257
|
"debug": {
|
|
@@ -412,11 +412,11 @@
|
|
|
412
412
|
"name": "keyword.other.period.elm"
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
|
-
"match": "([A-Z]
|
|
415
|
+
"match": "([A-Z]\\w*)(\\.)",
|
|
416
416
|
"name": "meta.module.name.elm"
|
|
417
417
|
},
|
|
418
418
|
"module_chunk": {
|
|
419
|
-
"match": "[A-Z]
|
|
419
|
+
"match": "[A-Z]\\w*",
|
|
420
420
|
"name": "support.module.elm"
|
|
421
421
|
},
|
|
422
422
|
"parens": {
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
"name": "entity.name.record.field.accessor.elm"
|
|
437
437
|
}
|
|
438
438
|
},
|
|
439
|
-
"match": "(\\.)([a-z]
|
|
439
|
+
"match": "(\\.)([a-z]\\w*)",
|
|
440
440
|
"name": "meta.record.accessor"
|
|
441
441
|
},
|
|
442
442
|
"record-prefix": {
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
"name": "entity.name.record.field.accessor.elm"
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
|
-
"match": "([a-z]
|
|
454
|
+
"match": "([a-z]\\w*)(\\.)([a-z]\\w*)",
|
|
455
455
|
"name": "record.accessor.elm"
|
|
456
456
|
},
|
|
457
457
|
"square_brackets": {
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
]
|
|
510
510
|
},
|
|
511
511
|
"top_level_value": {
|
|
512
|
-
"match": "^[a-z]
|
|
512
|
+
"match": "^[a-z]\\w*\\b",
|
|
513
513
|
"name": "entity.name.function.top_level.elm"
|
|
514
514
|
},
|
|
515
515
|
"type-alias-declaration": {
|
|
@@ -540,11 +540,11 @@
|
|
|
540
540
|
"include": "#module-prefix"
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
|
-
"match": "\\b[A-Z]
|
|
543
|
+
"match": "\\b[A-Z]\\w*\\b",
|
|
544
544
|
"name": "storage.type.elm"
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
|
-
"match": "\\b[a-z]
|
|
547
|
+
"match": "\\b[a-z]\\w*\\b",
|
|
548
548
|
"name": "variable.type.elm"
|
|
549
549
|
},
|
|
550
550
|
{
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
"name": "constant.type-constructor.elm"
|
|
575
575
|
}
|
|
576
576
|
},
|
|
577
|
-
"match": "^\\s*([A-Z]
|
|
577
|
+
"match": "^\\s*([A-Z]\\w*)\\b",
|
|
578
578
|
"name": "meta.record.field.elm"
|
|
579
579
|
},
|
|
580
580
|
{
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
"name": "constant.type-constructor.elm"
|
|
591
591
|
}
|
|
592
592
|
},
|
|
593
|
-
"match": "(\\=|\\|)\\s+([A-Z]
|
|
593
|
+
"match": "(\\=|\\|)\\s+([A-Z]\\w*)\\b",
|
|
594
594
|
"name": "meta.record.field.elm"
|
|
595
595
|
},
|
|
596
596
|
{
|
|
@@ -605,11 +605,11 @@
|
|
|
605
605
|
"include": "#module-prefix"
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
|
-
"match": "\\b[a-z]
|
|
608
|
+
"match": "\\b[a-z]\\w*\\b",
|
|
609
609
|
"name": "variable.type.elm"
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
|
-
"match": "\\b[A-Z]
|
|
612
|
+
"match": "\\b[A-Z]\\w*\\b",
|
|
613
613
|
"name": "storage.type.elm"
|
|
614
614
|
},
|
|
615
615
|
{
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
"name": "keyword.other.elm"
|
|
653
653
|
}
|
|
654
654
|
},
|
|
655
|
-
"match": "([a-z]
|
|
655
|
+
"match": "([a-z]\\w*)\\s+(\\:)",
|
|
656
656
|
"name": "meta.record.field.elm"
|
|
657
657
|
},
|
|
658
658
|
{
|
|
@@ -663,11 +663,11 @@
|
|
|
663
663
|
"include": "#module-prefix"
|
|
664
664
|
},
|
|
665
665
|
{
|
|
666
|
-
"match": "\\b[a-z]
|
|
666
|
+
"match": "\\b[a-z]\\w*\\b",
|
|
667
667
|
"name": "variable.type.elm"
|
|
668
668
|
},
|
|
669
669
|
{
|
|
670
|
-
"match": "\\b[A-Z]
|
|
670
|
+
"match": "\\b[A-Z]\\w*\\b",
|
|
671
671
|
"name": "storage.type.elm"
|
|
672
672
|
},
|
|
673
673
|
{
|
|
@@ -713,11 +713,11 @@
|
|
|
713
713
|
"include": "#module-prefix"
|
|
714
714
|
},
|
|
715
715
|
{
|
|
716
|
-
"match": "\\b[a-z]
|
|
716
|
+
"match": "\\b[a-z]\\w*\\b",
|
|
717
717
|
"name": "variable.type.elm"
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
|
-
"match": "\\b[A-Z]
|
|
720
|
+
"match": "\\b[A-Z]\\w*\\b",
|
|
721
721
|
"name": "storage.type.elm"
|
|
722
722
|
},
|
|
723
723
|
{
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
"name": "constant.unit.elm"
|
|
744
744
|
},
|
|
745
745
|
"value": {
|
|
746
|
-
"match": "\\b[a-z]
|
|
746
|
+
"match": "\\b[a-z]\\w*\\b",
|
|
747
747
|
"name": "meta.value.elm"
|
|
748
748
|
}
|
|
749
749
|
},
|