tm-grammars 1.22.18 → 1.23.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.
- package/NOTICE +287 -1
- package/README.md +241 -239
- package/grammars/abap.json +36 -36
- package/grammars/actionscript-3.json +29 -29
- package/grammars/ada.json +78 -78
- package/grammars/angular-expression.json +62 -62
- package/grammars/angular-html.json +0 -1
- package/grammars/angular-inline-style.json +3 -3
- package/grammars/angular-inline-template.json +2 -2
- package/grammars/angular-template-blocks.json +3 -3
- package/grammars/angular-template.json +1 -1
- package/grammars/angular-ts.json +251 -251
- package/grammars/apache.json +31 -31
- package/grammars/apex.json +108 -108
- package/grammars/apl.json +18 -18
- package/grammars/applescript.json +11 -11
- package/grammars/ara.json +13 -13
- package/grammars/asciidoc.json +234 -234
- package/grammars/asm.json +90 -90
- package/grammars/astro.json +25 -25
- package/grammars/awk.json +8 -8
- package/grammars/ballerina.json +150 -150
- package/grammars/bat.json +28 -28
- package/grammars/beancount.json +33 -33
- package/grammars/berry.json +11 -11
- package/grammars/bibtex.json +12 -12
- package/grammars/bicep.json +12 -12
- package/grammars/blade.json +183 -183
- package/grammars/bsl.json +58 -58
- package/grammars/c.json +162 -162
- package/grammars/cadence.json +20 -20
- package/grammars/cairo.json +10 -10
- package/grammars/clarity.json +20 -20
- package/grammars/clojure.json +25 -25
- package/grammars/cmake.json +3 -3
- package/grammars/cobol.json +91 -91
- package/grammars/codeql.json +154 -154
- package/grammars/coffee.json +45 -45
- package/grammars/common-lisp.json +50 -50
- package/grammars/coq.json +10 -10
- package/grammars/cpp-macro.json +410 -410
- package/grammars/cpp.json +641 -641
- package/grammars/crystal.json +68 -68
- package/grammars/csharp.json +196 -196
- package/grammars/css.json +83 -83
- package/grammars/csv.json +1 -1
- package/grammars/cue.json +55 -55
- package/grammars/cypher.json +11 -11
- package/grammars/d.json +127 -32
- package/grammars/dart.json +18 -18
- package/grammars/dax.json +9 -9
- package/grammars/desktop.json +9 -9
- package/grammars/diff.json +3 -3
- package/grammars/dotenv.json +3 -3
- package/grammars/dream-maker.json +20 -20
- package/grammars/edge.json +8 -8
- package/grammars/elixir.json +44 -44
- package/grammars/elm.json +23 -23
- package/grammars/emacs-lisp.json +76 -76
- package/grammars/erb.json +2 -2
- package/grammars/erlang.json +29 -29
- package/grammars/es-tag-css.json +3 -3
- package/grammars/es-tag-glsl.json +3 -3
- package/grammars/es-tag-html.json +3 -3
- package/grammars/es-tag-sql.json +2 -2
- package/grammars/es-tag-xml.json +2 -2
- package/grammars/fennel.json +8 -8
- package/grammars/fish.json +10 -10
- package/grammars/fluent.json +10 -10
- package/grammars/fortran-fixed-form.json +1 -1
- package/grammars/fortran-free-form.json +106 -106
- package/grammars/fsharp.json +70 -70
- package/grammars/gdresource.json +15 -15
- package/grammars/gdscript.json +31 -27
- package/grammars/gdshader.json +18 -18
- package/grammars/genie.json +6 -6
- package/grammars/gherkin.json +1 -1
- package/grammars/git-commit.json +1 -1
- package/grammars/git-rebase.json +1 -1
- package/grammars/gleam.json +11 -11
- package/grammars/glimmer-js.json +35 -35
- package/grammars/glimmer-ts.json +35 -35
- package/grammars/glsl.json +4 -4
- package/grammars/gnuplot.json +41 -41
- package/grammars/go.json +155 -155
- package/grammars/graphql.json +20 -20
- package/grammars/groovy.json +44 -44
- package/grammars/hack.json +74 -74
- package/grammars/haml.json +24 -24
- package/grammars/handlebars.json +25 -25
- package/grammars/haskell.json +99 -99
- package/grammars/haxe.json +51 -51
- package/grammars/hcl.json +43 -43
- package/grammars/hjson.json +29 -29
- package/grammars/hlsl.json +15 -15
- package/grammars/html-derivative.json +0 -1
- package/grammars/html.json +28 -29
- package/grammars/http.json +17 -17
- package/grammars/hxml.json +3 -3
- package/grammars/hy.json +10 -10
- package/grammars/imba.json +168 -173
- package/grammars/ini.json +2 -2
- package/grammars/java.json +54 -54
- package/grammars/javascript.json +262 -262
- package/grammars/jinja-html.json +3 -3
- package/grammars/jinja.json +15 -15
- package/grammars/jison.json +18 -18
- package/grammars/json.json +6 -6
- package/grammars/json5.json +12 -12
- package/grammars/jsonc.json +6 -6
- package/grammars/jsonl.json +6 -6
- package/grammars/jsonnet.json +15 -15
- package/grammars/jssm.json +4 -4
- package/grammars/jsx.json +262 -262
- package/grammars/julia.json +45 -45
- package/grammars/kotlin.json +15 -15
- package/grammars/kusto.json +13 -13
- package/grammars/latex.json +260 -260
- package/grammars/lean.json +12 -12
- package/grammars/less.json +91 -91
- package/grammars/liquid.json +96 -62
- package/grammars/llvm.json +122 -0
- package/grammars/log.json +22 -22
- package/grammars/logo.json +2 -2
- package/grammars/lua.json +34 -34
- package/grammars/luau.json +20 -20
- package/grammars/make.json +22 -22
- package/grammars/markdown-vue.json +1 -1
- package/grammars/markdown.json +83 -83
- package/grammars/marko.json +19 -19
- package/grammars/matlab.json +29 -29
- package/grammars/mdc.json +17 -17
- package/grammars/mdx.json +278 -278
- package/grammars/mermaid.json +97 -97
- package/grammars/mipsasm.json +2 -2
- package/grammars/mojo.json +122 -122
- package/grammars/move.json +35 -35
- package/grammars/narrat.json +10 -10
- package/grammars/nextflow.json +11 -11
- package/grammars/nginx.json +45 -45
- package/grammars/nim.json +44 -44
- package/grammars/nix.json +71 -71
- package/grammars/nushell.json +36 -36
- package/grammars/objective-c.json +129 -129
- package/grammars/objective-cpp.json +245 -245
- package/grammars/ocaml.json +229 -229
- package/grammars/pascal.json +4 -4
- package/grammars/perl.json +64 -64
- package/grammars/php.json +199 -199
- package/grammars/plsql.json +10 -10
- package/grammars/po.json +4 -4
- package/grammars/polar.json +13 -13
- package/grammars/postcss.json +31 -31
- package/grammars/powerquery.json +10 -10
- package/grammars/powershell.json +54 -54
- package/grammars/prisma.json +13 -13
- package/grammars/prolog.json +3 -3
- package/grammars/proto.json +11 -11
- package/grammars/pug.json +30 -30
- package/grammars/puppet.json +35 -35
- package/grammars/purescript.json +843 -467
- package/grammars/python.json +126 -126
- package/grammars/qml.json +18 -18
- package/grammars/qss.json +7 -7
- package/grammars/r.json +17 -17
- package/grammars/racket.json +58 -58
- package/grammars/raku.json +15 -15
- package/grammars/razor.json +30 -30
- package/grammars/reg.json +3 -3
- package/grammars/regexp.json +15 -15
- package/grammars/rel.json +4 -4
- package/grammars/riscv.json +15 -15
- package/grammars/rst.json +26 -26
- package/grammars/ruby.json +103 -106
- package/grammars/rust.json +13 -13
- package/grammars/sas.json +9 -9
- package/grammars/sass.json +35 -35
- package/grammars/scala.json +75 -75
- package/grammars/scheme.json +16 -16
- package/grammars/scss.json +68 -68
- package/grammars/sdbl.json +18 -18
- package/grammars/shaderlab.json +8 -8
- package/grammars/shellscript.json +111 -111
- package/grammars/shellsession.json +1 -1
- package/grammars/smalltalk.json +5 -5
- package/grammars/solidity.json +20 -20
- package/grammars/soy.json +30 -30
- package/grammars/sparql.json +1 -1
- package/grammars/splunk.json +6 -6
- package/grammars/sql.json +8 -8
- package/grammars/ssh-config.json +2 -2
- package/grammars/stata.json +90 -90
- package/grammars/stylus.json +48 -48
- package/grammars/svelte.json +35 -25
- package/grammars/swift.json +114 -114
- package/grammars/system-verilog.json +25 -25
- package/grammars/systemd.json +16 -16
- package/grammars/talonscript.json +12 -12
- package/grammars/tasl.json +10 -10
- package/grammars/tcl.json +11 -11
- package/grammars/templ.json +34 -34
- package/grammars/terraform.json +42 -42
- package/grammars/tex.json +14 -14
- package/grammars/toml.json +15 -15
- package/grammars/tsx.json +262 -262
- package/grammars/turtle.json +2 -2
- package/grammars/twig.json +37 -37
- package/grammars/typescript.json +251 -251
- package/grammars/typespec.json +54 -273
- package/grammars/typst.json +34 -34
- package/grammars/v.json +32 -32
- package/grammars/vala.json +6 -6
- package/grammars/vb.json +7 -7
- package/grammars/verilog.json +4 -4
- package/grammars/vhdl.json +10 -10
- package/grammars/viml.json +22 -22
- package/grammars/vue-html.json +10 -10
- package/grammars/vue-sfc-style-variable-injection.json +1 -1
- package/grammars/vue.json +65 -65
- package/grammars/vyper.json +126 -126
- package/grammars/wasm.json +26 -26
- package/grammars/wenyan.json +7 -7
- package/grammars/wgsl.json +9 -9
- package/grammars/wikitext.json +66 -66
- package/grammars/wit.json +1409 -0
- package/grammars/wolfram.json +446 -446
- package/grammars/xml.json +11 -11
- package/grammars/xsl.json +1 -1
- package/grammars/yaml.json +24 -24
- package/grammars/zenscript.json +8 -8
- package/grammars/zig.json +11 -11
- package/index.d.ts +7 -0
- package/index.js +1226 -506
- package/package.json +1 -1
package/grammars/less.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"name": "keyword.other.unit.less"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"match": "(?i:[
|
|
34
|
+
"match": "(?i:[\\-+]?(?:\\d*\\.\\d+(?:[eE][\\-+]?\\d+)*|[\\-+]?\\d+)(deg|grad|rad|turn))\\b",
|
|
35
35
|
"name": "constant.numeric.less"
|
|
36
36
|
},
|
|
37
37
|
"arbitrary-repetition": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"name": "punctuation.definition.arbitrary-repetition.less"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"match": "\\s*(
|
|
43
|
+
"match": "\\s*(,)"
|
|
44
44
|
},
|
|
45
45
|
"at-charset": {
|
|
46
46
|
"begin": "\\s*((@)charset\\b)\\s*",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"at-container": {
|
|
64
64
|
"begin": "(?=\\s*@container)",
|
|
65
|
-
"end": "\\s*(
|
|
65
|
+
"end": "\\s*(})",
|
|
66
66
|
"endCaptures": {
|
|
67
67
|
"1": {
|
|
68
68
|
"name": "punctuation.definition.block.end.less"
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"name": "support.constant.size-feature.less"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
"match": "((
|
|
121
|
+
"match": "(([<>])=?)|[=/]",
|
|
122
122
|
"name": "keyword.operator.comparison.less"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"include": "#numeric-values"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
"match": "
|
|
136
|
+
"match": "/",
|
|
137
137
|
"name": "keyword.operator.arithmetic.less"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"include": "#style-function"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"match": "
|
|
154
|
+
"match": "--|-?(?:[a-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))(?:[\\-\\da-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))*",
|
|
155
155
|
"name": "variable.parameter.container-name.css"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"name": "punctuation.definition.block.begin.less"
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
|
-
"end": "(
|
|
174
|
+
"end": "(?=})",
|
|
175
175
|
"patterns": [
|
|
176
176
|
{
|
|
177
177
|
"include": "#rule-list-body"
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
]
|
|
185
185
|
},
|
|
186
186
|
"at-counter-style": {
|
|
187
|
-
"begin": "\\s*((@)counter-style\\b)\\s+(?:(?i:\\b(decimal|none)\\b)|(-?(?:[
|
|
187
|
+
"begin": "\\s*((@)counter-style\\b)\\s+(?:(?i:\\b(decimal|none)\\b)|(-?(?:[_a-zA-Z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*))\\s*(?=\\{|$)",
|
|
188
188
|
"beginCaptures": {
|
|
189
189
|
"1": {
|
|
190
190
|
"name": "keyword.control.at-rule.counter-style.less"
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"name": "entity.other.counter-style-name.css"
|
|
200
200
|
}
|
|
201
201
|
},
|
|
202
|
-
"end": "\\s*(
|
|
202
|
+
"end": "\\s*(})",
|
|
203
203
|
"endCaptures": {
|
|
204
204
|
"1": {
|
|
205
205
|
"name": "punctuation.definition.block.begin.less"
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"name": "punctuation.definition.keyword.less"
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
|
-
"end": "\\s*(
|
|
260
|
+
"end": "\\s*(})",
|
|
261
261
|
"endCaptures": {
|
|
262
262
|
"1": {
|
|
263
263
|
"name": "punctuation.definition.block.end.less"
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"name": "punctuation.definition.keyword.less"
|
|
284
284
|
}
|
|
285
285
|
},
|
|
286
|
-
"end": "
|
|
286
|
+
"end": ";",
|
|
287
287
|
"endCaptures": {
|
|
288
288
|
"0": {
|
|
289
289
|
"name": "punctuation.terminator.rule.less"
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
301
|
"begin": "(?<=([\"'])|([\"']\\)))\\s*",
|
|
302
|
-
"end": "\\s*(
|
|
302
|
+
"end": "\\s*(?=;)",
|
|
303
303
|
"patterns": [
|
|
304
304
|
{
|
|
305
305
|
"include": "#media-query"
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
"name": "support.constant.keyframe.less"
|
|
349
349
|
}
|
|
350
350
|
},
|
|
351
|
-
"end": "\\s*(
|
|
351
|
+
"end": "\\s*(})",
|
|
352
352
|
"endCaptures": {
|
|
353
353
|
"1": {
|
|
354
354
|
"name": "punctuation.definition.block.end.less"
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"name": "punctuation.definition.block.begin.less"
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
|
-
"end": "(
|
|
365
|
+
"end": "(?=})",
|
|
366
366
|
"patterns": [
|
|
367
367
|
{
|
|
368
368
|
"captures": {
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
},
|
|
401
401
|
"at-media": {
|
|
402
402
|
"begin": "(?=\\s*@media\\b)",
|
|
403
|
-
"end": "\\s*(
|
|
403
|
+
"end": "\\s*(})",
|
|
404
404
|
"endCaptures": {
|
|
405
405
|
"1": {
|
|
406
406
|
"name": "punctuation.definition.block.end.less"
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
"name": "punctuation.definition.block.begin.less"
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
|
-
"end": "(
|
|
438
|
+
"end": "(?=})",
|
|
439
439
|
"patterns": [
|
|
440
440
|
{
|
|
441
441
|
"include": "#rule-list-body"
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
"name": "punctuation.definition.keyword.less"
|
|
458
458
|
}
|
|
459
459
|
},
|
|
460
|
-
"end": "
|
|
460
|
+
"end": ";",
|
|
461
461
|
"endCaptures": {
|
|
462
462
|
"0": {
|
|
463
463
|
"name": "punctuation.terminator.rule.less"
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
"include": "#literal-string"
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
|
-
"match": "(-?(?:[
|
|
475
|
+
"match": "(-?(?:[_a-zA-Z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)",
|
|
476
476
|
"name": "entity.name.constant.namespace-prefix.less"
|
|
477
477
|
}
|
|
478
478
|
]
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
},
|
|
546
546
|
"at-supports": {
|
|
547
547
|
"begin": "(?=\\s*@supports\\b)",
|
|
548
|
-
"end": "(?=\\s*)(
|
|
548
|
+
"end": "(?=\\s*)(})",
|
|
549
549
|
"endCaptures": {
|
|
550
550
|
"1": {
|
|
551
551
|
"name": "punctuation.definition.block.end.less"
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
"name": "punctuation.section.property-list.begin.less"
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
|
-
"end": "(
|
|
586
|
+
"end": "(?=})",
|
|
587
587
|
"patterns": [
|
|
588
588
|
{
|
|
589
589
|
"include": "#rule-list-body"
|
|
@@ -656,12 +656,12 @@
|
|
|
656
656
|
"include": "#literal-string"
|
|
657
657
|
},
|
|
658
658
|
{
|
|
659
|
-
"begin": "(-?(?:[
|
|
659
|
+
"begin": "(-?(?:[_a-zA-Z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)",
|
|
660
660
|
"end": "(?=\\))",
|
|
661
661
|
"name": "entity.other.attribute-name.less",
|
|
662
662
|
"patterns": [
|
|
663
663
|
{
|
|
664
|
-
"match": "\\b((?i:em|ex|ch|rem)|(?i:
|
|
664
|
+
"match": "\\b((?i:em|ex|ch|rem)|(?i:v(?:[wh]|min|max))|(?i:cm|mm|q|in|pt|pc|px|fr)|(?i:deg|grad|rad|turn)|(?i:s|ms)|(?i:Hz|kHz)|(?i:dp(?:i|cm|px)))\\b",
|
|
665
665
|
"name": "keyword.other.unit.less"
|
|
666
666
|
},
|
|
667
667
|
{
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
]
|
|
800
800
|
},
|
|
801
801
|
"color-adjuster-operators": {
|
|
802
|
-
"match": "[
|
|
802
|
+
"match": "[\\-+*](?=\\s+)",
|
|
803
803
|
"name": "keyword.operator.less"
|
|
804
804
|
},
|
|
805
805
|
"color-functions": {
|
|
@@ -1065,7 +1065,7 @@
|
|
|
1065
1065
|
"include": "#var-function"
|
|
1066
1066
|
},
|
|
1067
1067
|
{
|
|
1068
|
-
"match": "(?:--(?:[
|
|
1068
|
+
"match": "(?:--(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))+|-?(?:[_a-zA-Z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)",
|
|
1069
1069
|
"name": "entity.other.counter-name.less"
|
|
1070
1070
|
},
|
|
1071
1071
|
{
|
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
"include": "#comma-delimiter"
|
|
1077
1077
|
},
|
|
1078
1078
|
{
|
|
1079
|
-
"match": "\\b((?
|
|
1079
|
+
"match": "\\b((?i:arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|decimal-leading-zero|decimal|devanagari|disclosure-closed|disclosure-open|disc|ethiopic-numeric|georgian|gujarati|gurmukhi|hebrew|hiragana-iroha|hiragana|japanese-formal|japanese-informal|kannada|katakana-iroha|katakana|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)|none)\\b",
|
|
1080
1080
|
"name": "support.constant.property-value.counter-style.less"
|
|
1081
1081
|
}
|
|
1082
1082
|
]
|
|
@@ -1110,7 +1110,7 @@
|
|
|
1110
1110
|
"end": "(?=\\))",
|
|
1111
1111
|
"patterns": [
|
|
1112
1112
|
{
|
|
1113
|
-
"match": "(-?(?:[
|
|
1113
|
+
"match": "(-?(?:[_a-zA-Z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)",
|
|
1114
1114
|
"name": "entity.other.counter-name.less string.unquoted.less"
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
@@ -1133,7 +1133,7 @@
|
|
|
1133
1133
|
"include": "#comma-delimiter"
|
|
1134
1134
|
},
|
|
1135
1135
|
{
|
|
1136
|
-
"match": "\\b((?
|
|
1136
|
+
"match": "\\b((?i:arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|decimal-leading-zero|decimal|devanagari|disclosure-closed|disclosure-open|disc|ethiopic-numeric|georgian|gujarati|gurmukhi|hebrew|hiragana-iroha|hiragana|japanese-formal|japanese-informal|kannada|katakana-iroha|katakana|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)|none)\\b",
|
|
1137
1137
|
"name": "support.constant.property-value.counter-style.less"
|
|
1138
1138
|
}
|
|
1139
1139
|
]
|
|
@@ -1242,7 +1242,7 @@
|
|
|
1242
1242
|
"name": "support.type.custom-property.name.less"
|
|
1243
1243
|
}
|
|
1244
1244
|
},
|
|
1245
|
-
"match": "\\s*(--)((?:[
|
|
1245
|
+
"match": "\\s*(--)((?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))+)",
|
|
1246
1246
|
"name": "support.type.custom-property.less"
|
|
1247
1247
|
},
|
|
1248
1248
|
"dimensions": {
|
|
@@ -1529,7 +1529,7 @@
|
|
|
1529
1529
|
"name": "keyword.other.unit.less"
|
|
1530
1530
|
}
|
|
1531
1531
|
},
|
|
1532
|
-
"match": "(?i:[
|
|
1532
|
+
"match": "(?i:[\\-+]?(?:\\d*\\.\\d+(?:[eE][\\-+]?\\d+)*|[\\-+]?\\d+)(Hz|kHz))\\b",
|
|
1533
1533
|
"name": "constant.numeric.less"
|
|
1534
1534
|
},
|
|
1535
1535
|
"global-property-values": {
|
|
@@ -1694,11 +1694,11 @@
|
|
|
1694
1694
|
"include": "#integer-type"
|
|
1695
1695
|
},
|
|
1696
1696
|
{
|
|
1697
|
-
"match": "\\b(auto-(
|
|
1697
|
+
"match": "\\b(auto-(fi(?:ll|t)))\\b",
|
|
1698
1698
|
"name": "support.keyword.repetitions.less"
|
|
1699
1699
|
},
|
|
1700
1700
|
{
|
|
1701
|
-
"match": "\\b(((
|
|
1701
|
+
"match": "\\b(((m(?:ax|in))-content)|auto)\\b",
|
|
1702
1702
|
"name": "support.constant.property-value.less"
|
|
1703
1703
|
}
|
|
1704
1704
|
]
|
|
@@ -1770,15 +1770,15 @@
|
|
|
1770
1770
|
"name": "punctuation.separator.less"
|
|
1771
1771
|
}
|
|
1772
1772
|
},
|
|
1773
|
-
"match": "(
|
|
1773
|
+
"match": "(!)\\s*important",
|
|
1774
1774
|
"name": "keyword.other.important.less"
|
|
1775
1775
|
},
|
|
1776
1776
|
"integer-type": {
|
|
1777
|
-
"match": "
|
|
1777
|
+
"match": "[\\-+]?\\d+",
|
|
1778
1778
|
"name": "constant.numeric.less"
|
|
1779
1779
|
},
|
|
1780
1780
|
"keyframe-name": {
|
|
1781
|
-
"begin": "\\s*(-?(?:[_a-z
|
|
1781
|
+
"begin": "\\s*(-?(?:[_a-z[^\\x00-\\x7F]]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\s\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))(?:[_a-z0-9\\-[^\\x00-\\x7F]]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))*)?",
|
|
1782
1782
|
"beginCaptures": {
|
|
1783
1783
|
"1": {
|
|
1784
1784
|
"name": "variable.other.constant.animation-name.less"
|
|
@@ -1799,11 +1799,11 @@
|
|
|
1799
1799
|
"name": "keyword.other.unit.less"
|
|
1800
1800
|
}
|
|
1801
1801
|
},
|
|
1802
|
-
"match": "
|
|
1802
|
+
"match": "[\\-+]?(?:\\d+\\.\\d+|\\.?\\d+)(?:[eE][\\-+]?\\d+)?(em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|[mq]|in|pt|pc|px|fr|dpi|dpcm|dppx|x)",
|
|
1803
1803
|
"name": "constant.numeric.less"
|
|
1804
1804
|
},
|
|
1805
1805
|
{
|
|
1806
|
-
"match": "\\b
|
|
1806
|
+
"match": "\\b[\\-+]?0\\b",
|
|
1807
1807
|
"name": "constant.numeric.less"
|
|
1808
1808
|
}
|
|
1809
1809
|
]
|
|
@@ -2477,7 +2477,7 @@
|
|
|
2477
2477
|
"name": "keyword.operator.logical.less"
|
|
2478
2478
|
}
|
|
2479
2479
|
},
|
|
2480
|
-
"match": "\\s*(=|((
|
|
2480
|
+
"match": "\\s*(=|(([<>])=?))\\s*"
|
|
2481
2481
|
},
|
|
2482
2482
|
{
|
|
2483
2483
|
"begin": "\\(",
|
|
@@ -2521,7 +2521,7 @@
|
|
|
2521
2521
|
"less-math": {
|
|
2522
2522
|
"patterns": [
|
|
2523
2523
|
{
|
|
2524
|
-
"match": "[
|
|
2524
|
+
"match": "[\\-+*/]",
|
|
2525
2525
|
"name": "keyword.operator.arithmetic.less"
|
|
2526
2526
|
},
|
|
2527
2527
|
{
|
|
@@ -2746,7 +2746,7 @@
|
|
|
2746
2746
|
"include": "#comma-delimiter"
|
|
2747
2747
|
},
|
|
2748
2748
|
{
|
|
2749
|
-
"match": "((
|
|
2749
|
+
"match": "(([cm])?m|in|p([tcx])|m?s|g?rad|deg|turn|%|r?em|ex|ch)",
|
|
2750
2750
|
"name": "keyword.other.unit.less"
|
|
2751
2751
|
}
|
|
2752
2752
|
]
|
|
@@ -2789,7 +2789,7 @@
|
|
|
2789
2789
|
"name": "punctuation.separator.less"
|
|
2790
2790
|
}
|
|
2791
2791
|
},
|
|
2792
|
-
"match": "\\s*(
|
|
2792
|
+
"match": "\\s*(,)"
|
|
2793
2793
|
}
|
|
2794
2794
|
]
|
|
2795
2795
|
}
|
|
@@ -2990,7 +2990,7 @@
|
|
|
2990
2990
|
"name": "punctuation.section.property-list.begin.less"
|
|
2991
2991
|
}
|
|
2992
2992
|
},
|
|
2993
|
-
"end": "(
|
|
2993
|
+
"end": "(?=})",
|
|
2994
2994
|
"name": "meta.block.less",
|
|
2995
2995
|
"patterns": [
|
|
2996
2996
|
{
|
|
@@ -3172,7 +3172,7 @@
|
|
|
3172
3172
|
"less-strings": {
|
|
3173
3173
|
"patterns": [
|
|
3174
3174
|
{
|
|
3175
|
-
"begin": "(~)('
|
|
3175
|
+
"begin": "(~)(['\"])",
|
|
3176
3176
|
"beginCaptures": {
|
|
3177
3177
|
"1": {
|
|
3178
3178
|
"name": "constant.character.escape.less"
|
|
@@ -3182,7 +3182,7 @@
|
|
|
3182
3182
|
}
|
|
3183
3183
|
},
|
|
3184
3184
|
"contentName": "markup.raw.inline.less",
|
|
3185
|
-
"end": "('
|
|
3185
|
+
"end": "(['\"])|(\\n)",
|
|
3186
3186
|
"endCaptures": {
|
|
3187
3187
|
"1": {
|
|
3188
3188
|
"name": "punctuation.definition.string.end.less"
|
|
@@ -3264,7 +3264,7 @@
|
|
|
3264
3264
|
"include": "#comma-delimiter"
|
|
3265
3265
|
},
|
|
3266
3266
|
{
|
|
3267
|
-
"match": "\\b((?i:em|ex|ch|rem)|(?i:
|
|
3267
|
+
"match": "\\b((?i:em|ex|ch|rem)|(?i:v(?:[wh]|min|max))|(?i:cm|mm|q|in|pt|pc|px|fr)|(?i:deg|grad|rad|turn)|(?i:s|ms)|(?i:Hz|kHz)|(?i:dp(?:i|cm|px)))\\b",
|
|
3268
3268
|
"name": "keyword.other.unit.less"
|
|
3269
3269
|
}
|
|
3270
3270
|
]
|
|
@@ -3307,7 +3307,7 @@
|
|
|
3307
3307
|
"less-variable-assignment": {
|
|
3308
3308
|
"patterns": [
|
|
3309
3309
|
{
|
|
3310
|
-
"begin": "(@)(-?(?:[
|
|
3310
|
+
"begin": "(@)(-?(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)",
|
|
3311
3311
|
"beginCaptures": {
|
|
3312
3312
|
"0": {
|
|
3313
3313
|
"name": "variable.other.readwrite.less"
|
|
@@ -3360,7 +3360,7 @@
|
|
|
3360
3360
|
"less-variable-comparison": {
|
|
3361
3361
|
"patterns": [
|
|
3362
3362
|
{
|
|
3363
|
-
"begin": "(@{1,2})(
|
|
3363
|
+
"begin": "(@{1,2})(-?([_a-z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)",
|
|
3364
3364
|
"beginCaptures": {
|
|
3365
3365
|
"0": {
|
|
3366
3366
|
"name": "variable.other.readwrite.less"
|
|
@@ -3385,7 +3385,7 @@
|
|
|
3385
3385
|
"name": "keyword.operator.logical.less"
|
|
3386
3386
|
}
|
|
3387
3387
|
},
|
|
3388
|
-
"match": "\\s*(=|((
|
|
3388
|
+
"match": "\\s*(=|(([<>])=?))\\s*"
|
|
3389
3389
|
},
|
|
3390
3390
|
{
|
|
3391
3391
|
"match": "\\btrue\\b",
|
|
@@ -3423,7 +3423,7 @@
|
|
|
3423
3423
|
"name": "punctuation.definition.expression.less"
|
|
3424
3424
|
}
|
|
3425
3425
|
},
|
|
3426
|
-
"match": "(@)(\\{)([
|
|
3426
|
+
"match": "(@)(\\{)([\\-\\w]+)(})",
|
|
3427
3427
|
"name": "variable.other.readwrite.less"
|
|
3428
3428
|
},
|
|
3429
3429
|
"less-variables": {
|
|
@@ -3437,7 +3437,7 @@
|
|
|
3437
3437
|
"name": "support.other.variable.less"
|
|
3438
3438
|
}
|
|
3439
3439
|
},
|
|
3440
|
-
"match": "\\s*(@@?)([
|
|
3440
|
+
"match": "\\s*(@@?)([\\-\\w]+)",
|
|
3441
3441
|
"name": "variable.other.readwrite.less"
|
|
3442
3442
|
},
|
|
3443
3443
|
{
|
|
@@ -3571,7 +3571,7 @@
|
|
|
3571
3571
|
"name": "meta.group.less",
|
|
3572
3572
|
"patterns": [
|
|
3573
3573
|
{
|
|
3574
|
-
"begin": "(
|
|
3574
|
+
"begin": "(--|-?(?:[a-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))(?:[\\-\\da-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))*)\\s*(?=[:)])",
|
|
3575
3575
|
"beginCaptures": {
|
|
3576
3576
|
"0": {
|
|
3577
3577
|
"name": "support.type.property-name.media.less"
|
|
@@ -3655,7 +3655,7 @@
|
|
|
3655
3655
|
"include": "#comma-delimiter"
|
|
3656
3656
|
},
|
|
3657
3657
|
{
|
|
3658
|
-
"match": "\\b(
|
|
3658
|
+
"match": "\\b(m(?:ax-content|in-content))\\b",
|
|
3659
3659
|
"name": "support.constant.property-value.less"
|
|
3660
3660
|
}
|
|
3661
3661
|
]
|
|
@@ -3663,7 +3663,7 @@
|
|
|
3663
3663
|
]
|
|
3664
3664
|
},
|
|
3665
3665
|
"number-type": {
|
|
3666
|
-
"match": "
|
|
3666
|
+
"match": "[\\-+]?(?:\\d+\\.\\d+|\\.?\\d+)(?:[eE][\\-+]?\\d+)?",
|
|
3667
3667
|
"name": "constant.numeric.less"
|
|
3668
3668
|
},
|
|
3669
3669
|
"numeric-values": {
|
|
@@ -3685,14 +3685,14 @@
|
|
|
3685
3685
|
"name": "keyword.other.unit.less"
|
|
3686
3686
|
}
|
|
3687
3687
|
},
|
|
3688
|
-
"match": "
|
|
3688
|
+
"match": "[\\-+]?(?:\\d+\\.\\d+|\\.?\\d+)(?:[eE][\\-+]?\\d+)?(%)",
|
|
3689
3689
|
"name": "constant.numeric.less"
|
|
3690
3690
|
},
|
|
3691
3691
|
"property-list": {
|
|
3692
3692
|
"patterns": [
|
|
3693
3693
|
{
|
|
3694
3694
|
"begin": "(?=(?=[^;]*)\\{)",
|
|
3695
|
-
"end": "
|
|
3695
|
+
"end": "}",
|
|
3696
3696
|
"endCaptures": {
|
|
3697
3697
|
"0": {
|
|
3698
3698
|
"name": "punctuation.definition.block.end.less"
|
|
@@ -3738,7 +3738,7 @@
|
|
|
3738
3738
|
"name": "support.constant.property-value.less"
|
|
3739
3739
|
},
|
|
3740
3740
|
{
|
|
3741
|
-
"match": "\\
|
|
3741
|
+
"match": "\\binfinite\\b",
|
|
3742
3742
|
"name": "support.constant.property-value.less"
|
|
3743
3743
|
},
|
|
3744
3744
|
{
|
|
@@ -3746,7 +3746,7 @@
|
|
|
3746
3746
|
"name": "support.constant.property-value.less"
|
|
3747
3747
|
},
|
|
3748
3748
|
{
|
|
3749
|
-
"match": "\\
|
|
3749
|
+
"match": "\\be(?:ntry|xit)(?:-crossing|)\\b",
|
|
3750
3750
|
"name": "support.constant.property-value.less"
|
|
3751
3751
|
},
|
|
3752
3752
|
{
|
|
@@ -3754,7 +3754,7 @@
|
|
|
3754
3754
|
"name": "support.constant.property-value.less"
|
|
3755
3755
|
},
|
|
3756
3756
|
{
|
|
3757
|
-
"match": "\\b(absolute|active|add|all-petite-caps|all-small-caps|all-scroll|all|alphabetic|alpha|alternate-reverse|alternate|always|annotation|antialiased|at|autohiding-scrollbar|auto|avoid-column|avoid-page|avoid-region|avoid|background-color|background-image|background-position|background-size|background-repeat|background|backwards|balance|baseline|below|bevel|bicubic|bidi-override|blink|block-line-height|block-start|block-end|block|blur|bolder|bold|border-top-left-radius|border-top-right-radius|border-bottom-left-radius|border-bottom-right-radius|border-end-end-radius|border-end-start-radius|border-start-end-radius|border-start-start-radius|border-block-start-color|border-block-start-style|border-block-start-width|border-block-start|border-block-end-color|border-block-end-style|border-block-end-width|border-block-end|border-block-color|border-block-style|border-block-width|border-block|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-inline-start|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-end|border-inline-color|border-inline-style|border-inline-width|border-inline|border-top-color|border-top-style|border-top-width|border-top|border-right-color|border-right-style|border-right-width|border-right|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-left-color|border-left-style|border-left-width|border-left|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-image|border-color|border-style|border-width|border-radius|border-collapse|border-spacing|border|both|bottom|box-shadow|box|break-all|break-word|break-spaces|brightness|butt(on)?|capitalize|central|center|char(acter-variant)?|cjk-ideographic|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color-stop|color-burn|color-dodge|color|column-count|column-gap|column-reverse|column-rule-color|column-rule-width|column-rule|column-width|columns|column|common-ligatures|condensed|consider-shifts|contain|content-box|contents?|contextual|contrast|cover|crisp-edges|crispEdges|crop|crosshair|cross|darken|dashed|default|dense|device-width|diagonal-fractions|difference|disabled|discard|discretionary-ligatures|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|drop-shadow|[nsew]{1,4}-resize|ease-in-out|ease-in|ease-out|ease|element|ellipsis|embed|end|EndColorStr|evenodd|exclude-ruby|exclusion|expanded|extra-condensed|extra-expanded|farthest-corner|farthest-side|farthest|fill-box|fill-opacity|fill|filter|fit-content|fixed|flat|flex-basis|flex-end|flex-grow|flex-shrink|flex-start|flexbox|flex|flip|flood-color|font-size-adjust|font-size|font-stretch|font-weight|font|forwards|from-image|from|full-width|gap|geometricPrecision|glyphs|gradient|grayscale|grid-column-gap|grid-column|grid-row-gap|grid-row|grid-gap|grid-height|grid|groove|hand|hanging|hard-light|height|help|hidden|hide|historical-forms|historical-ligatures|horizontal-tb|horizontal|hue|ideographic|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|include-ruby|infinite|inherit|initial|inline-end|inline-size|inline-start|inline-table|inline-line-height|inline-flexbox|inline-flex|inline-box|inline-block|inline|inset|inside|inter-ideograph|inter-word|intersect|invert|isolate|isolation|italic|jis(04|78|83|90)|justify-all|justify|keep-all|larger|large|last|layout|left|letter-spacing|lighten|lighter|lighting-color|linear-gradient|linearRGB|linear|line-edge|line-height|line-through|line|lining-nums|list-item|local|loose|lowercase|lr-tb|ltr|luminosity|luminance|manual|manipulation|margin-bottom|margin-box|margin-left|margin-right|margin-top|margin|marker(-offset|s)?|match-parent|mathematical|max-(content|height|lines|size|width)|medium|middle|min-(content|height|width)|miter|mixed|move|multiply|newspaper|no-change|no-clip|no-close-quote|no-open-quote|no-common-ligatures|no-discretionary-ligatures|no-historical-ligatures|no-contextual|no-drop|no-repeat|none|nonzero|normal|not-allowed|nowrap|oblique|offset-after|offset-before|offset-end|offset-start|offset|oldstyle-nums|opacity|open-quote|optimize(Legibility|Precision|Quality|Speed)|order|ordinal|ornaments|outline-color|outline-offset|outline-width|outline|outset|outside|overline|over-edge|overlay|padding(-bottom
|
|
3757
|
+
"match": "\\b(absolute|active|add|all-petite-caps|all-small-caps|all-scroll|all|alphabetic|alpha|alternate-reverse|alternate|always|annotation|antialiased|at|autohiding-scrollbar|auto|avoid-column|avoid-page|avoid-region|avoid|background-color|background-image|background-position|background-size|background-repeat|background|backwards|balance|baseline|below|bevel|bicubic|bidi-override|blink|block-line-height|block-start|block-end|block|blur|bolder|bold|border-top-left-radius|border-top-right-radius|border-bottom-left-radius|border-bottom-right-radius|border-end-end-radius|border-end-start-radius|border-start-end-radius|border-start-start-radius|border-block-start-color|border-block-start-style|border-block-start-width|border-block-start|border-block-end-color|border-block-end-style|border-block-end-width|border-block-end|border-block-color|border-block-style|border-block-width|border-block|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-inline-start|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-end|border-inline-color|border-inline-style|border-inline-width|border-inline|border-top-color|border-top-style|border-top-width|border-top|border-right-color|border-right-style|border-right-width|border-right|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-left-color|border-left-style|border-left-width|border-left|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-image|border-color|border-style|border-width|border-radius|border-collapse|border-spacing|border|both|bottom|box-shadow|box|break-all|break-word|break-spaces|brightness|butt(on)?|capitalize|central|center|char(acter-variant)?|cjk-ideographic|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color-stop|color-burn|color-dodge|color|column-count|column-gap|column-reverse|column-rule-color|column-rule-width|column-rule|column-width|columns|column|common-ligatures|condensed|consider-shifts|contain|content-box|contents?|contextual|contrast|cover|crisp-edges|crispEdges|crop|crosshair|cross|darken|dashed|default|dense|device-width|diagonal-fractions|difference|disabled|discard|discretionary-ligatures|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|drop-shadow|[nsew]{1,4}-resize|ease-in-out|ease-in|ease-out|ease|element|ellipsis|embed|end|EndColorStr|evenodd|exclude-ruby|exclusion|expanded|extra-condensed|extra-expanded|farthest-corner|farthest-side|farthest|fill-box|fill-opacity|fill|filter|fit-content|fixed|flat|flex-basis|flex-end|flex-grow|flex-shrink|flex-start|flexbox|flex|flip|flood-color|font-size-adjust|font-size|font-stretch|font-weight|font|forwards|from-image|from|full-width|gap|geometricPrecision|glyphs|gradient|grayscale|grid-column-gap|grid-column|grid-row-gap|grid-row|grid-gap|grid-height|grid|groove|hand|hanging|hard-light|height|help|hidden|hide|historical-forms|historical-ligatures|horizontal-tb|horizontal|hue|ideographic|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|include-ruby|infinite|inherit|initial|inline-end|inline-size|inline-start|inline-table|inline-line-height|inline-flexbox|inline-flex|inline-box|inline-block|inline|inset|inside|inter-ideograph|inter-word|intersect|invert|isolate|isolation|italic|jis(04|78|83|90)|justify-all|justify|keep-all|larger|large|last|layout|left|letter-spacing|lighten|lighter|lighting-color|linear-gradient|linearRGB|linear|line-edge|line-height|line-through|line|lining-nums|list-item|local|loose|lowercase|lr-tb|ltr|luminosity|luminance|manual|manipulation|margin-bottom|margin-box|margin-left|margin-right|margin-top|margin|marker(-offset|s)?|match-parent|mathematical|max-(content|height|lines|size|width)|medium|middle|min-(content|height|width)|miter|mixed|move|multiply|newspaper|no-change|no-clip|no-close-quote|no-open-quote|no-common-ligatures|no-discretionary-ligatures|no-historical-ligatures|no-contextual|no-drop|no-repeat|none|nonzero|normal|not-allowed|nowrap|oblique|offset-after|offset-before|offset-end|offset-start|offset|oldstyle-nums|opacity|open-quote|optimize(Legibility|Precision|Quality|Speed)|order|ordinal|ornaments|outline-color|outline-offset|outline-width|outline|outset|outside|overline|over-edge|overlay|padding(-(?:bottom|box|left|right|top|box))?|page|paint(ed)?|paused|pan-(x|left|right|y|up|down)|perspective-origin|petite-caps|pixelated|pointer|pinch-zoom|pretty|pre(-(?:line|wrap))?|preserve-3d|preserve-breaks|preserve-spaces|preserve|progid:DXImageTransform\\.Microsoft\\.(Alpha|Blur|dropshadow|gradient|Shadow)|progress|proportional-nums|proportional-width|radial-gradient|recto|region|relative|repeating-linear-gradient|repeating-radial-gradient|repeat-x|repeat-y|repeat|replaced|reset-size|reverse|revert-layer|revert|ridge|right|round|row-gap|row-resize|row-reverse|row|rtl|ruby|running|saturate|saturation|screen|scrollbar|scroll-position|scroll|separate|sepia|scale-down|semi-condensed|semi-expanded|shape-image-threshold|shape-margin|shape-outside|show|sideways-lr|sideways-rl|sideways|simplified|size|slashed-zero|slice|small-caps|smaller|small|smooth|snap|solid|soft-light|space-around|space-between|space|span|sRGB|stable|stacked-fractions|stack|startColorStr|start|static|step-end|step-start|sticky|stop-color|stop-opacity|stretch|strict|stroke-box|stroke-dasharray|stroke-dashoffset|stroke-miterlimit|stroke-opacity|stroke-width|stroke|styleset|style|stylistic|subgrid|subpixel-antialiased|subtract|super|swash|table-caption|table-cell|table-column-group|table-footer-group|table-header-group|table-row-group|table-column|table-row|table|tabular-nums|tb-rl|text((-(?:bottom|(decoration|emphasis)-color|indent|(over|under)-edge|shadow|size(-adjust)?|top))|field)?|thick|thin|titling-caps|titling-case|top|touch|to|traditional|transform-origin|transform-style|transform|ultra-condensed|ultra-expanded|under-edge|underline|unicase|unset|uppercase|upright|use-glyph-orientation|use-script|verso|vertical(-(?:align|ideographic|lr|rl|text))?|view-box|viewport-fill-opacity|viewport-fill|visibility|visibleFill|visiblePainted|visibleStroke|visible|wait|wavy|weight|whitespace|width|word-spacing|wrap-reverse|wrap-reverse|wrap|xx?-(large|small)|z-index|zero|zoom-in|zoom-out|zoom|arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|decimal-leading-zero|decimal|devanagari|disclosure-closed|disclosure-open|disc|ethiopic-numeric|georgian|gujarati|gurmukhi|hebrew|hiragana-iroha|hiragana|japanese-formal|japanese-informal|kannada|katakana-iroha|katakana|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)\\b",
|
|
3758
3758
|
"name": "support.constant.property-value.less"
|
|
3759
3759
|
},
|
|
3760
3760
|
{
|
|
@@ -3956,7 +3956,7 @@
|
|
|
3956
3956
|
"name": "keyword.operator.arithmetic.less"
|
|
3957
3957
|
}
|
|
3958
3958
|
},
|
|
3959
|
-
"match": "(?:([
|
|
3959
|
+
"match": "(?:([\\-+])?\\d+{0,1}(n)(\\s*([\\-+])\\s*\\d+)?|[\\-+]?\\s*\\d+)",
|
|
3960
3960
|
"name": "constant.numeric.less"
|
|
3961
3961
|
},
|
|
3962
3962
|
{
|
|
@@ -4040,7 +4040,7 @@
|
|
|
4040
4040
|
"end": "(?=\\))",
|
|
4041
4041
|
"patterns": [
|
|
4042
4042
|
{
|
|
4043
|
-
"match": "
|
|
4043
|
+
"match": "--|-?(?:[a-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))(?:[\\-\\da-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))*",
|
|
4044
4044
|
"name": "variable.parameter.less"
|
|
4045
4045
|
},
|
|
4046
4046
|
{
|
|
@@ -4101,7 +4101,7 @@
|
|
|
4101
4101
|
"name": "meta.namespace.vendor-prefix.less"
|
|
4102
4102
|
}
|
|
4103
4103
|
},
|
|
4104
|
-
"match": "(::?)(-\\w+-)(
|
|
4104
|
+
"match": "(::?)(-\\w+-)(--|-?(?:[a-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))(?:[\\-\\da-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))*)\\b",
|
|
4105
4105
|
"name": "entity.other.attribute-name.pseudo-element.less"
|
|
4106
4106
|
}
|
|
4107
4107
|
]
|
|
@@ -4118,7 +4118,7 @@
|
|
|
4118
4118
|
"name": "punctuation.separator.namespace.less"
|
|
4119
4119
|
}
|
|
4120
4120
|
},
|
|
4121
|
-
"match": "(?:(-?(?:[
|
|
4121
|
+
"match": "(?:(-?(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[_a-zA-Z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)|(\\*))?(\\|)(?!=)"
|
|
4122
4122
|
},
|
|
4123
4123
|
"regexp-function": {
|
|
4124
4124
|
"begin": "\\b(regexp)(?=\\()",
|
|
@@ -4154,7 +4154,7 @@
|
|
|
4154
4154
|
"name": "keyword.other.less"
|
|
4155
4155
|
},
|
|
4156
4156
|
{
|
|
4157
|
-
"match": "\\b[
|
|
4157
|
+
"match": "\\b[hslawbc]\\b",
|
|
4158
4158
|
"name": "keyword.other.less"
|
|
4159
4159
|
}
|
|
4160
4160
|
]
|
|
@@ -4168,7 +4168,7 @@
|
|
|
4168
4168
|
"name": "punctuation.definition.block.begin.less"
|
|
4169
4169
|
}
|
|
4170
4170
|
},
|
|
4171
|
-
"end": "(?=\\s
|
|
4171
|
+
"end": "(?=\\s*})",
|
|
4172
4172
|
"name": "meta.property-list.less",
|
|
4173
4173
|
"patterns": [
|
|
4174
4174
|
{
|
|
@@ -4204,7 +4204,7 @@
|
|
|
4204
4204
|
"include": "#less-variable-assignment"
|
|
4205
4205
|
},
|
|
4206
4206
|
{
|
|
4207
|
-
"begin": "(?=[
|
|
4207
|
+
"begin": "(?=[\\-\\w]*?@\\{.*}[\\-\\w]*?\\s*:[^;{(]*(?=[;})]))",
|
|
4208
4208
|
"end": "(?=\\s*(;)|(?=[})]))",
|
|
4209
4209
|
"patterns": [
|
|
4210
4210
|
{
|
|
@@ -4235,14 +4235,14 @@
|
|
|
4235
4235
|
]
|
|
4236
4236
|
},
|
|
4237
4237
|
{
|
|
4238
|
-
"begin": "(?=[
|
|
4239
|
-
"end": "$|(?![
|
|
4238
|
+
"begin": "(?=[\\-a-z])",
|
|
4239
|
+
"end": "$|(?![\\-a-z])",
|
|
4240
4240
|
"patterns": [
|
|
4241
4241
|
{
|
|
4242
4242
|
"include": "#custom-property-name"
|
|
4243
4243
|
},
|
|
4244
4244
|
{
|
|
4245
|
-
"begin": "(-[\\w
|
|
4245
|
+
"begin": "(-[\\w\\-]+?-)((?:[a-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))(?:[\\-\\da-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))*)\\b",
|
|
4246
4246
|
"beginCaptures": {
|
|
4247
4247
|
"0": {
|
|
4248
4248
|
"name": "support.type.property-name.less"
|
|
@@ -4272,7 +4272,7 @@
|
|
|
4272
4272
|
"include": "#property-values"
|
|
4273
4273
|
},
|
|
4274
4274
|
{
|
|
4275
|
-
"match": "[\\w
|
|
4275
|
+
"match": "[\\w\\-]+",
|
|
4276
4276
|
"name": "support.constant.property-value.less"
|
|
4277
4277
|
}
|
|
4278
4278
|
]
|
|
@@ -4325,7 +4325,7 @@
|
|
|
4325
4325
|
"name": "support.type.custom-property.name.less"
|
|
4326
4326
|
}
|
|
4327
4327
|
},
|
|
4328
|
-
"match": "\\b(var-)(-?(?:[
|
|
4328
|
+
"match": "\\b(var-)(-?(?:[\\-\\w[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[_a-zA-Z[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)(?=\\s)",
|
|
4329
4329
|
"name": "invalid.deprecated.custom-property.less"
|
|
4330
4330
|
},
|
|
4331
4331
|
{
|
|
@@ -4358,7 +4358,7 @@
|
|
|
4358
4358
|
"include": "#property-values"
|
|
4359
4359
|
},
|
|
4360
4360
|
{
|
|
4361
|
-
"match": "-?(?:[
|
|
4361
|
+
"match": "-?(?:[_a-zA-Z[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*(\\s+-?(?:[_a-zA-Z[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)*",
|
|
4362
4362
|
"name": "string.unquoted.less"
|
|
4363
4363
|
},
|
|
4364
4364
|
{
|
|
@@ -4462,7 +4462,7 @@
|
|
|
4462
4462
|
"include": "#property-value-constants"
|
|
4463
4463
|
},
|
|
4464
4464
|
{
|
|
4465
|
-
"match": "-?(?:[_a-zA-Z
|
|
4465
|
+
"match": "-?(?:[_a-zA-Z[^\\x00-\\x7F]]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\s\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))(?:[\\-_a-zA-Z0-9[^\\x00-\\x7F]]|(?:(:?\\\\[0-9a-f]{1,6}(\\r\\n|[\\t\\r\\n\\f])?)|\\\\[^\\r\\n\\f0-9a-f]))*",
|
|
4466
4466
|
"name": "variable.other.constant.animation-name.less string.unquoted.less"
|
|
4467
4467
|
},
|
|
4468
4468
|
{
|
|
@@ -4587,7 +4587,7 @@
|
|
|
4587
4587
|
"name": "invalid.illegal.property-value.less"
|
|
4588
4588
|
},
|
|
4589
4589
|
{
|
|
4590
|
-
"match": "-?(?:[
|
|
4590
|
+
"match": "-?(?:[\\-\\w[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[_a-zA-Z[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*",
|
|
4591
4591
|
"name": "support.constant.property-value.less"
|
|
4592
4592
|
},
|
|
4593
4593
|
{
|
|
@@ -4622,7 +4622,7 @@
|
|
|
4622
4622
|
"match": "(((\\+_?)?):)([\\s\\t]*)"
|
|
4623
4623
|
},
|
|
4624
4624
|
{
|
|
4625
|
-
"match": "-?(?:[
|
|
4625
|
+
"match": "-?(?:[\\-\\w[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[_a-zA-Z[^\\x00-\\x{9F}]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*",
|
|
4626
4626
|
"name": "entity.name.constant.counter-name.less"
|
|
4627
4627
|
},
|
|
4628
4628
|
{
|
|
@@ -4666,7 +4666,7 @@
|
|
|
4666
4666
|
},
|
|
4667
4667
|
{
|
|
4668
4668
|
"contentName": "variable.other.constant.container-name.less",
|
|
4669
|
-
"match": "
|
|
4669
|
+
"match": "--|-?(?:[a-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))(?:[\\-\\da-zA-Z_·À-ÖØ-öø-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}]|\\\\(?:\\N|\\H|\\h{1,6}[\\sR]))*",
|
|
4670
4670
|
"name": "support.constant.property-value.less"
|
|
4671
4671
|
},
|
|
4672
4672
|
{
|
|
@@ -4677,7 +4677,7 @@
|
|
|
4677
4677
|
]
|
|
4678
4678
|
},
|
|
4679
4679
|
{
|
|
4680
|
-
"match": "\\b(accent-height|align-content|align-items|align-self|alignment-baseline|all|animation-timing-function|animation-range-start|animation-range-end|animation-range|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation-composition|animation|appearance|ascent|aspect-ratio|azimuth|backface-visibility|background-size|background-repeat-y|background-repeat-x|background-repeat|background-position-y|background-position-x|background-position|background-origin|background-image|background-color|background-clip|background-blend-mode|background-attachment|background|baseline-shift|begin|bias|blend-mode|border-top-left-radius|border-top-right-radius|border-bottom-left-radius|border-bottom-right-radius|border-end-end-radius|border-end-start-radius|border-start-end-radius|border-start-start-radius|border-block-start-color|border-block-start-style|border-block-start-width|border-block-start|border-block-end-color|border-block-end-style|border-block-end-width|border-block-end|border-block-color|border-block-style|border-block-width|border-block|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-inline-start|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-end|border-inline-color|border-inline-style|border-inline-width|border-inline|border-top-color|border-top-style|border-top-width|border-top|border-right-color|border-right-style|border-right-width|border-right|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-left-color|border-left-style|border-left-width|border-left|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-image|border-color|border-style|border-width|border-radius|border-collapse|border-spacing|border|bottom|box-(align|decoration-break|direction|flex|ordinal-group|orient|pack|shadow|sizing)|break-(after|before|inside)|caption-side|clear|clip-path|clip-rule|clip|color(-(interpolation(-filters)?|profile|rendering))?|columns|column-(break-before|count|fill|gap|(rule(-(color|style|width))?)|span|width)|container-name|container-type|container|contain-intrinsic-block-size|contain-intrinsic-inline-size|contain-intrinsic-height|contain-intrinsic-size|contain-intrinsic-width|contain|content|counter-(increment|reset)|cursor|[cdf][xy]|direction|display|divisor|dominant-baseline|dur|elevation|empty-cells|enable-background|end|fallback|fill(-(opacity|rule))?|filter|flex(-(align|basis|direction|flow|grow|item-align|line-pack|negative|order|pack|positive|preferred-size|shrink|wrap))?|float|flood-(color|opacity)|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-size(-adjust)?|font-smoothing|font-stretch|font-style|font-synthesis|font-variant(-(alternates|caps|east-asian|ligatures|numeric|position))?|font-weight|font|fr|((column|row)-)?gap|glyph-orientation-(horizontal|vertical)|grid-(area|gap)|grid-auto-(columns|flow|rows)|grid-(column|row)(-(end|gap|start))?|grid-template(-(areas|columns|rows))?|grid|height|hyphens|image-(orientation|rendering|resolution)|inset(-(block|inline))?(-(start|end))?|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-(box-contain|break|clamp|height)|list-style(-(image|position|type))?|(margin|padding)(-(bottom|left|right|top)|(-(block|inline)?(-(end|start))?))?|marker(-(end|mid|start))?|mask(-(clip||composite|image|origin|position|repeat|size|type))?|(
|
|
4680
|
+
"match": "\\b(accent-height|align-content|align-items|align-self|alignment-baseline|all|animation-timing-function|animation-range-start|animation-range-end|animation-range|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation-composition|animation|appearance|ascent|aspect-ratio|azimuth|backface-visibility|background-size|background-repeat-y|background-repeat-x|background-repeat|background-position-y|background-position-x|background-position|background-origin|background-image|background-color|background-clip|background-blend-mode|background-attachment|background|baseline-shift|begin|bias|blend-mode|border-top-left-radius|border-top-right-radius|border-bottom-left-radius|border-bottom-right-radius|border-end-end-radius|border-end-start-radius|border-start-end-radius|border-start-start-radius|border-block-start-color|border-block-start-style|border-block-start-width|border-block-start|border-block-end-color|border-block-end-style|border-block-end-width|border-block-end|border-block-color|border-block-style|border-block-width|border-block|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-inline-start|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-end|border-inline-color|border-inline-style|border-inline-width|border-inline|border-top-color|border-top-style|border-top-width|border-top|border-right-color|border-right-style|border-right-width|border-right|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-left-color|border-left-style|border-left-width|border-left|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-image|border-color|border-style|border-width|border-radius|border-collapse|border-spacing|border|bottom|box-(align|decoration-break|direction|flex|ordinal-group|orient|pack|shadow|sizing)|break-(after|before|inside)|caption-side|clear|clip-path|clip-rule|clip|color(-(interpolation(-filters)?|profile|rendering))?|columns|column-(break-before|count|fill|gap|(rule(-(color|style|width))?)|span|width)|container-name|container-type|container|contain-intrinsic-block-size|contain-intrinsic-inline-size|contain-intrinsic-height|contain-intrinsic-size|contain-intrinsic-width|contain|content|counter-(increment|reset)|cursor|[cdf][xy]|direction|display|divisor|dominant-baseline|dur|elevation|empty-cells|enable-background|end|fallback|fill(-(opacity|rule))?|filter|flex(-(align|basis|direction|flow|grow|item-align|line-pack|negative|order|pack|positive|preferred-size|shrink|wrap))?|float|flood-(color|opacity)|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-size(-adjust)?|font-smoothing|font-stretch|font-style|font-synthesis|font-variant(-(alternates|caps|east-asian|ligatures|numeric|position))?|font-weight|font|fr|((column|row)-)?gap|glyph-orientation-(horizontal|vertical)|grid-(area|gap)|grid-auto-(columns|flow|rows)|grid-(column|row)(-(end|gap|start))?|grid-template(-(areas|columns|rows))?|grid|height|hyphens|image-(orientation|rendering|resolution)|inset(-(block|inline))?(-(start|end))?|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-(box-contain|break|clamp|height)|list-style(-(image|position|type))?|(margin|padding)(-(bottom|left|right|top)|(-(block|inline)?(-(end|start))?))?|marker(-(end|mid|start))?|mask(-(clip||composite|image|origin|position|repeat|size|type))?|(m(?:ax|in))-(height|width)|mix-blend-mode|nbsp-mode|negative|object-(fit|position)|opacity|operator|order|orphans|outline(-(color|offset|style|width))?|overflow(-((inline|block)|scrolling|wrap|[xy]))?|overscroll-behavior(-(?:block|(inline|[xy])))?|pad(ding(-(bottom|left|right|top))?)?|page(-break-(after|before|inside))?|paint-order|pause(-(after|before))?|perspective(-origin(-([xy]))?)?|pitch(-range)?|place-content|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|scale|scroll-behavior|shape-(image-threshold|margin|outside|rendering)|size|speak(-as)?|src|stop-(color|opacity)|stroke(-(dash(array|offset)|line(cap|join)|miterlimit|opacity|width))?|suffix|symbols|system|tab-size|table-layout|tap-highlight-color|text-align(-last)?|text-decoration(-(color|line|style))?|text-emphasis(-(color|position|style))?|text-(anchor|fill-color|height|indent|justify|orientation|overflow|rendering|size-adjust|shadow|transform|underline-position|wrap)|top|touch-action|transform(-origin(-([xy]))?)|transform(-style)?|transition(-(delay|duration|property|timing-function))?|translate|unicode-(bidi|range)|user-(drag|select)|vertical-align|visibility|white-space(-collapse)?|widows|width|will-change|word-(break|spacing|wrap)|writing-mode|z-index|zoom)\\b",
|
|
4681
4681
|
"name": "support.type.property-name.less"
|
|
4682
4682
|
},
|
|
4683
4683
|
{
|
|
@@ -4690,7 +4690,7 @@
|
|
|
4690
4690
|
]
|
|
4691
4691
|
},
|
|
4692
4692
|
{
|
|
4693
|
-
"begin": "\\b((
|
|
4693
|
+
"begin": "\\b((?:\\+_?)?:)([\\s\\t]*)",
|
|
4694
4694
|
"beginCaptures": {
|
|
4695
4695
|
"1": {
|
|
4696
4696
|
"name": "punctuation.separator.key-value.less"
|
|
@@ -4748,7 +4748,7 @@
|
|
|
4748
4748
|
"name": "support.constant.scroller.less"
|
|
4749
4749
|
},
|
|
4750
4750
|
{
|
|
4751
|
-
"match": "block|inline|
|
|
4751
|
+
"match": "block|inline|[xy]",
|
|
4752
4752
|
"name": "support.constant.axis.less"
|
|
4753
4753
|
},
|
|
4754
4754
|
{
|
|
@@ -4762,7 +4762,7 @@
|
|
|
4762
4762
|
"selector": {
|
|
4763
4763
|
"patterns": [
|
|
4764
4764
|
{
|
|
4765
|
-
"begin": "(?=[
|
|
4765
|
+
"begin": "(?=[>~+/.*#a-zA-Z\\[\\&]|(:{1,2}\\S)|@\\{)",
|
|
4766
4766
|
"contentName": "meta.selector.less",
|
|
4767
4767
|
"end": "(?=@(?!\\{)|[{;])",
|
|
4768
4768
|
"patterns": [
|
|
@@ -4788,7 +4788,7 @@
|
|
|
4788
4788
|
"selectors": {
|
|
4789
4789
|
"patterns": [
|
|
4790
4790
|
{
|
|
4791
|
-
"match": "\\b([a-z](?:
|
|
4791
|
+
"match": "\\b([a-z](?:[\\-_a-z0-9·]|\\\\\\.|[À-ÖØ-öø-˿̀-ͽͿ--‿-⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}])*-(?:[\\-_a-z0-9·]|\\\\\\.|[À-ÖØ-öø-˿̀-ͽͿ--‿-⁀⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-\\x{EFFFF}])*)\\b",
|
|
4792
4792
|
"name": "entity.name.tag.custom.less"
|
|
4793
4793
|
},
|
|
4794
4794
|
{
|
|
@@ -4802,7 +4802,7 @@
|
|
|
4802
4802
|
"name": "punctuation.definition.entity.less"
|
|
4803
4803
|
}
|
|
4804
4804
|
},
|
|
4805
|
-
"end": "(?![
|
|
4805
|
+
"end": "(?![\\-\\w[^\\x00-\\x{9F}]]|\\\\(\\h{1,6} ?|\\H)|(@(?=\\{)))",
|
|
4806
4806
|
"name": "entity.other.attribute-name.class.less",
|
|
4807
4807
|
"patterns": [
|
|
4808
4808
|
{
|
|
@@ -4817,7 +4817,7 @@
|
|
|
4817
4817
|
"name": "punctuation.definition.entity.less"
|
|
4818
4818
|
}
|
|
4819
4819
|
},
|
|
4820
|
-
"end": "(?![
|
|
4820
|
+
"end": "(?![\\-\\w[^\\x00-\\x{9F}]]|\\\\(\\h{1,6} ?|\\H)|(@(?=\\{)))",
|
|
4821
4821
|
"name": "entity.other.attribute-name.id.less",
|
|
4822
4822
|
"patterns": [
|
|
4823
4823
|
{
|
|
@@ -4833,7 +4833,7 @@
|
|
|
4833
4833
|
}
|
|
4834
4834
|
},
|
|
4835
4835
|
"contentName": "entity.other.attribute-name.parent.less",
|
|
4836
|
-
"end": "(?![
|
|
4836
|
+
"end": "(?![\\-\\w[^\\x00-\\x{9F}]]|\\\\(\\h{1,6} ?|\\H)|(@(?=\\{)))",
|
|
4837
4837
|
"name": "entity.other.attribute-name.parent.less",
|
|
4838
4838
|
"patterns": [
|
|
4839
4839
|
{
|
|
@@ -4859,7 +4859,7 @@
|
|
|
4859
4859
|
"name": "invalid.illegal.combinator.less"
|
|
4860
4860
|
},
|
|
4861
4861
|
{
|
|
4862
|
-
"match": "
|
|
4862
|
+
"match": "/deep/",
|
|
4863
4863
|
"name": "invalid.illegal.combinator.less"
|
|
4864
4864
|
},
|
|
4865
4865
|
{
|
|
@@ -4869,7 +4869,7 @@
|
|
|
4869
4869
|
"name": "punctuation.section.braces.begin.less"
|
|
4870
4870
|
}
|
|
4871
4871
|
},
|
|
4872
|
-
"end": "
|
|
4872
|
+
"end": "]",
|
|
4873
4873
|
"endCaptures": {
|
|
4874
4874
|
"0": {
|
|
4875
4875
|
"name": "punctuation.section.braces.end.less"
|
|
@@ -4884,17 +4884,17 @@
|
|
|
4884
4884
|
"include": "#qualified-name"
|
|
4885
4885
|
},
|
|
4886
4886
|
{
|
|
4887
|
-
"match": "(-?(?:[
|
|
4887
|
+
"match": "(-?(?:[_a-zA-Z[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))(?:[\\-\\w[^\\x00-\\x7F]]|\\\\(?:\\h{1,6}[\\s\\t\\n\\f]?|[^\\n\\f\\h]))*)",
|
|
4888
4888
|
"name": "entity.other.attribute-name.less"
|
|
4889
4889
|
},
|
|
4890
4890
|
{
|
|
4891
|
-
"begin": "\\s*([
|
|
4891
|
+
"begin": "\\s*([~*|\\^$]?=)\\s*",
|
|
4892
4892
|
"beginCaptures": {
|
|
4893
4893
|
"1": {
|
|
4894
4894
|
"name": "keyword.operator.attribute-selector.less"
|
|
4895
4895
|
}
|
|
4896
4896
|
},
|
|
4897
|
-
"end": "(?=(\\s
|
|
4897
|
+
"end": "(?=([\\s\\]]))",
|
|
4898
4898
|
"patterns": [
|
|
4899
4899
|
{
|
|
4900
4900
|
"include": "#less-variable-interpolation"
|
|
@@ -4915,7 +4915,7 @@
|
|
|
4915
4915
|
"match": "(?:\\s+([iI]))?"
|
|
4916
4916
|
},
|
|
4917
4917
|
{
|
|
4918
|
-
"match": "
|
|
4918
|
+
"match": "]",
|
|
4919
4919
|
"name": "punctuation.definition.entity.less"
|
|
4920
4920
|
}
|
|
4921
4921
|
]
|
|
@@ -5224,13 +5224,13 @@
|
|
|
5224
5224
|
"name": "keyword.other.unit.less"
|
|
5225
5225
|
}
|
|
5226
5226
|
},
|
|
5227
|
-
"match": "(?i:[
|
|
5227
|
+
"match": "(?i:[\\-+]?(?:\\d*\\.\\d+(?:[eE][\\-+]?\\d+)*|[\\-+]?\\d+)(s|ms))\\b",
|
|
5228
5228
|
"name": "constant.numeric.less"
|
|
5229
5229
|
},
|
|
5230
5230
|
"transform-functions": {
|
|
5231
5231
|
"patterns": [
|
|
5232
5232
|
{
|
|
5233
|
-
"begin": "\\b(
|
|
5233
|
+
"begin": "\\b((?:matrix|scale)(?:3d|))(?=\\()",
|
|
5234
5234
|
"beginCaptures": {
|
|
5235
5235
|
"0": {
|
|
5236
5236
|
"name": "support.function.transform.less"
|
|
@@ -5704,7 +5704,7 @@
|
|
|
5704
5704
|
"end": "(?=\\))",
|
|
5705
5705
|
"patterns": [
|
|
5706
5706
|
{
|
|
5707
|
-
"match": "block|inline|
|
|
5707
|
+
"match": "block|inline|[xy]|auto",
|
|
5708
5708
|
"name": "support.constant.property-value.less"
|
|
5709
5709
|
},
|
|
5710
5710
|
{
|