tm-grammars 1.22.2 → 1.22.4
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 +1 -1
- package/README.md +166 -166
- package/grammars/abap.json +29 -29
- package/grammars/actionscript-3.json +10 -10
- package/grammars/ada.json +6 -6
- package/grammars/angular-expression.json +29 -29
- package/grammars/angular-let-declaration.json +1 -1
- package/grammars/angular-ts.json +257 -257
- package/grammars/apex.json +72 -72
- package/grammars/apl.json +1 -1
- package/grammars/applescript.json +5 -5
- package/grammars/ara.json +3 -3
- package/grammars/asciidoc.json +4 -4
- package/grammars/asm.json +23 -23
- package/grammars/astro.json +3 -3
- package/grammars/awk.json +2 -2
- package/grammars/ballerina.json +94 -94
- package/grammars/bat.json +2 -2
- package/grammars/beancount.json +13 -13
- package/grammars/berry.json +6 -6
- package/grammars/bibtex.json +2 -2
- package/grammars/bicep.json +6 -6
- package/grammars/blade.json +73 -73
- package/grammars/c.json +11 -11
- package/grammars/cadence.json +6 -6
- package/grammars/cairo.json +5 -5
- package/grammars/clarity.json +16 -16
- package/grammars/clojure.json +14 -14
- package/grammars/cobol.json +33 -33
- package/grammars/codeql.json +6 -6
- package/grammars/coffee.json +17 -17
- package/grammars/common-lisp.json +48 -48
- package/grammars/coq.json +1 -1
- package/grammars/cpp-macro.json +112 -112
- package/grammars/cpp.json +187 -187
- package/grammars/crystal.json +22 -22
- package/grammars/csharp.json +110 -110
- package/grammars/css.json +23 -23
- package/grammars/cue.json +33 -33
- package/grammars/cypher.json +1 -1
- package/grammars/d.json +4 -4
- package/grammars/dart.json +6 -6
- package/grammars/dax.json +2 -2
- package/grammars/diff.json +1 -1
- package/grammars/dotenv.json +2 -2
- package/grammars/dream-maker.json +3 -3
- package/grammars/edge.json +1 -1
- package/grammars/elixir.json +15 -15
- package/grammars/elm.json +30 -30
- package/grammars/emacs-lisp.json +3 -3
- package/grammars/erlang.json +2 -2
- package/grammars/es-tag-css.json +1 -1
- package/grammars/es-tag-glsl.json +1 -1
- package/grammars/es-tag-html.json +1 -1
- package/grammars/es-tag-sql.json +1 -1
- package/grammars/es-tag-xml.json +1 -1
- package/grammars/fennel.json +3 -3
- package/grammars/fish.json +1 -1
- package/grammars/fluent.json +1 -1
- package/grammars/fortran-free-form.json +57 -57
- package/grammars/fsharp.json +62 -62
- package/grammars/gdresource.json +6 -6
- package/grammars/gdscript.json +8 -8
- package/grammars/gdshader.json +1 -1
- package/grammars/genie.json +1 -1
- package/grammars/git-commit.json +1 -1
- package/grammars/gleam.json +9 -9
- package/grammars/glimmer-js.json +6 -6
- package/grammars/glimmer-ts.json +6 -6
- package/grammars/gnuplot.json +6 -6
- package/grammars/go.json +41 -41
- package/grammars/graphql.json +1 -1
- package/grammars/groovy.json +12 -12
- package/grammars/hack.json +19 -19
- package/grammars/haml.json +4 -4
- package/grammars/handlebars.json +2 -2
- package/grammars/haskell.json +17 -17
- package/grammars/haxe.json +17 -17
- package/grammars/hcl.json +24 -24
- package/grammars/hjson.json +7 -7
- package/grammars/hlsl.json +8 -8
- package/grammars/html.json +3 -3
- package/grammars/http.json +2 -2
- package/grammars/hy.json +8 -8
- package/grammars/imba.json +98 -98
- package/grammars/java.json +14 -14
- package/grammars/javascript.json +264 -264
- package/grammars/jinja.json +8 -8
- package/grammars/jison.json +7 -7
- package/grammars/json.json +1 -1
- package/grammars/json5.json +1 -1
- package/grammars/jsonc.json +1 -1
- package/grammars/jsonl.json +1 -1
- package/grammars/jsonnet.json +1 -1
- package/grammars/jssm.json +2 -2
- package/grammars/jsx.json +264 -264
- package/grammars/julia.json +22 -22
- package/grammars/kotlin.json +2 -2
- package/grammars/kusto.json +1 -1
- package/grammars/latex.json +9 -9
- package/grammars/lean.json +3 -3
- package/grammars/less.json +13 -13
- package/grammars/liquid.json +5 -5
- package/grammars/log.json +5 -5
- package/grammars/logo.json +1 -1
- package/grammars/lua.json +25 -25
- package/grammars/luau.json +19 -19
- package/grammars/make.json +1 -1
- package/grammars/markdown.json +8 -8
- package/grammars/marko.json +6 -6
- package/grammars/matlab.json +12 -12
- package/grammars/mdc.json +3 -3
- package/grammars/mdx.json +25 -25
- package/grammars/mermaid.json +31 -31
- package/grammars/mipsasm.json +3 -3
- package/grammars/mojo.json +46 -46
- package/grammars/move.json +5 -5
- package/grammars/nextflow.json +10 -10
- package/grammars/nginx.json +10 -10
- package/grammars/nim.json +8 -8
- package/grammars/nix.json +34 -34
- package/grammars/nushell.json +3 -3
- package/grammars/objective-c.json +8 -8
- package/grammars/objective-cpp.json +14 -14
- package/grammars/ocaml.json +94 -94
- package/grammars/perl.json +34 -34
- package/grammars/php.json +87 -87
- package/grammars/polar.json +6 -6
- package/grammars/postcss.json +3 -3
- package/grammars/powerquery.json +1 -1
- package/grammars/powershell.json +5 -5
- package/grammars/prisma.json +3 -3
- package/grammars/prolog.json +6 -6
- package/grammars/proto.json +3 -3
- package/grammars/pug.json +4 -4
- package/grammars/puppet.json +11 -11
- package/grammars/purescript.json +5 -5
- package/grammars/python.json +44 -44
- package/grammars/qml.json +4 -4
- package/grammars/r.json +10 -10
- package/grammars/racket.json +19 -19
- package/grammars/raku.json +2 -2
- package/grammars/razor.json +24 -24
- package/grammars/reg.json +2 -2
- package/grammars/regexp.json +3 -3
- package/grammars/rel.json +4 -4
- package/grammars/riscv.json +5 -5
- package/grammars/rst.json +1 -1
- package/grammars/ruby.json +3 -3
- package/grammars/rust.json +1 -1
- package/grammars/sas.json +2 -2
- package/grammars/sass.json +5 -5
- package/grammars/scala.json +43 -43
- package/grammars/scheme.json +8 -8
- package/grammars/scss.json +7 -7
- package/grammars/shaderlab.json +3 -3
- package/grammars/shellscript.json +24 -24
- package/grammars/smalltalk.json +6 -6
- package/grammars/solidity.json +5 -5
- package/grammars/soy.json +1 -1
- package/grammars/sparql.json +1 -1
- package/grammars/splunk.json +3 -3
- package/grammars/sql.json +2 -2
- package/grammars/ssh-config.json +2 -2
- package/grammars/stata.json +33 -33
- package/grammars/stylus.json +6 -6
- package/grammars/svelte.json +8 -8
- package/grammars/swift.json +27 -27
- package/grammars/system-verilog.json +11 -11
- package/grammars/systemd.json +5 -5
- package/grammars/talonscript.json +1 -1
- package/grammars/tcl.json +2 -2
- package/grammars/templ.json +2 -2
- package/grammars/terraform.json +23 -23
- package/grammars/tex.json +3 -3
- package/grammars/toml.json +5 -5
- package/grammars/tsx.json +264 -264
- package/grammars/turtle.json +1 -1
- package/grammars/twig.json +23 -23
- package/grammars/typescript.json +257 -257
- package/grammars/typespec.json +30 -30
- package/grammars/typst.json +13 -13
- package/grammars/v.json +16 -16
- package/grammars/vala.json +1 -1
- package/grammars/vb.json +2 -2
- package/grammars/verilog.json +5 -5
- package/grammars/vhdl.json +14 -14
- package/grammars/viml.json +11 -11
- package/grammars/vue-html.json +2 -2
- package/grammars/vue.json +1 -1
- package/grammars/vyper.json +44 -44
- package/grammars/wasm.json +2 -2
- package/grammars/wgsl.json +3 -3
- package/grammars/wikitext.json +9 -9
- package/grammars/wolfram.json +331 -331
- package/grammars/xml.json +1 -1
- package/grammars/yaml.json +3 -3
- package/grammars/zenscript.json +2 -2
- package/grammars/zig.json +3 -3
- package/index.js +204 -204
- package/package.json +1 -1
package/grammars/hcl.json
CHANGED
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"comment": "Matches traversal attribute access such as .attr",
|
|
30
|
-
"end": "[
|
|
30
|
+
"end": "[[:alpha:]][\\w-]*|\\d*",
|
|
31
31
|
"endCaptures": {
|
|
32
32
|
"0": {
|
|
33
33
|
"patterns": [
|
|
34
34
|
{
|
|
35
35
|
"comment": "Attribute name",
|
|
36
|
-
"match": "(?!null|false|true)[
|
|
36
|
+
"match": "(?!null|false|true)[[:alpha:]][\\w-]*",
|
|
37
37
|
"name": "variable.other.member.hcl"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"comment": "Identifier \"=\" with optional parens",
|
|
64
|
-
"match": "(\\()?(\\b(?!null\\b|false\\b|true\\b)[
|
|
64
|
+
"match": "(\\()?(\\b(?!null\\b|false\\b|true\\b)[[:alpha:]][[:alnum:]_-]*)(\\))?\\s*(\\=(?!\\=|\\>))\\s*",
|
|
65
65
|
"name": "variable.declaration.hcl"
|
|
66
66
|
},
|
|
67
67
|
"attribute_splat": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"patterns": [
|
|
87
87
|
{
|
|
88
88
|
"comment": "Block type",
|
|
89
|
-
"match": "\\b(?!null|false|true)[
|
|
89
|
+
"match": "\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",
|
|
90
90
|
"name": "entity.name.type.hcl"
|
|
91
91
|
}
|
|
92
92
|
]
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"comment": "Block label (Identifier)",
|
|
103
|
-
"match": "[
|
|
103
|
+
"match": "[[:alpha:]][[:alnum:]_-]*",
|
|
104
104
|
"name": "variable.other.enummember.hcl"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"name": "keyword.control.conditional.hcl"
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
|
-
"match": "
|
|
266
|
+
"match": "\\:",
|
|
267
267
|
"name": "keyword.operator.hcl"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
@@ -286,11 +286,11 @@
|
|
|
286
286
|
"1": {
|
|
287
287
|
"patterns": [
|
|
288
288
|
{
|
|
289
|
-
"match": "\\b[
|
|
289
|
+
"match": "\\b[[:alpha:]][\\w_-]*::([[:alpha:]][\\w_-]*::)?[[:alpha:]][\\w_-]*\\b",
|
|
290
290
|
"name": "support.function.namespaced.hcl"
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
|
-
"match": "\\b[
|
|
293
|
+
"match": "\\b[[:alpha:]][\\w_-]*\\b",
|
|
294
294
|
"name": "support.function.builtin.hcl"
|
|
295
295
|
}
|
|
296
296
|
]
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"name": "storage.type.hcl"
|
|
337
337
|
},
|
|
338
338
|
"heredoc": {
|
|
339
|
-
"begin": "(
|
|
339
|
+
"begin": "(\\<\\<\\-?)\\s*(\\w+)\\s*$",
|
|
340
340
|
"beginCaptures": {
|
|
341
341
|
"1": {
|
|
342
342
|
"name": "keyword.operator.heredoc.hcl"
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
"2": {
|
|
368
368
|
"patterns": [
|
|
369
369
|
{
|
|
370
|
-
"match": "
|
|
370
|
+
"match": "\\=\\>",
|
|
371
371
|
"name": "storage.type.function.hcl"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
},
|
|
428
428
|
"local_identifiers": {
|
|
429
429
|
"comment": "Local Identifiers",
|
|
430
|
-
"match": "\\b(?!null|false|true)[
|
|
430
|
+
"match": "\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",
|
|
431
431
|
"name": "variable.other.readwrite.hcl"
|
|
432
432
|
},
|
|
433
433
|
"numeric_literals": {
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
},
|
|
481
481
|
"patterns": [
|
|
482
482
|
{
|
|
483
|
-
"match": "
|
|
483
|
+
"match": "\\=\\>",
|
|
484
484
|
"name": "storage.type.function.hcl"
|
|
485
485
|
},
|
|
486
486
|
{
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
}
|
|
551
551
|
},
|
|
552
552
|
"comment": "Literal, named object key",
|
|
553
|
-
"match": "\\b((?!null|false|true)[
|
|
553
|
+
"match": "\\b((?!null|false|true)[[:alpha:]][[:alnum:]_-]*)\\s*(\\=(?!=))\\s*"
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
556
|
"captures": {
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
"comment": "String object key",
|
|
571
|
-
"match": "^\\s*((\").*(\"))\\s*(
|
|
571
|
+
"match": "^\\s*((\").*(\"))\\s*(\\=)\\s*"
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
574
|
"begin": "^\\s*\\(",
|
|
@@ -605,19 +605,19 @@
|
|
|
605
605
|
"operators": {
|
|
606
606
|
"patterns": [
|
|
607
607
|
{
|
|
608
|
-
"match": "
|
|
608
|
+
"match": "\\>\\=",
|
|
609
609
|
"name": "keyword.operator.hcl"
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
|
-
"match": "
|
|
612
|
+
"match": "\\<\\=",
|
|
613
613
|
"name": "keyword.operator.hcl"
|
|
614
614
|
},
|
|
615
615
|
{
|
|
616
|
-
"match": "
|
|
616
|
+
"match": "\\=\\=",
|
|
617
617
|
"name": "keyword.operator.hcl"
|
|
618
618
|
},
|
|
619
619
|
{
|
|
620
|
-
"match": "
|
|
620
|
+
"match": "\\!\\=",
|
|
621
621
|
"name": "keyword.operator.hcl"
|
|
622
622
|
},
|
|
623
623
|
{
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
"name": "keyword.operator.arithmetic.hcl"
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
|
-
"match": "
|
|
628
|
+
"match": "\\-",
|
|
629
629
|
"name": "keyword.operator.arithmetic.hcl"
|
|
630
630
|
},
|
|
631
631
|
{
|
|
@@ -649,15 +649,15 @@
|
|
|
649
649
|
"name": "keyword.operator.logical.hcl"
|
|
650
650
|
},
|
|
651
651
|
{
|
|
652
|
-
"match": "
|
|
652
|
+
"match": "\\!",
|
|
653
653
|
"name": "keyword.operator.logical.hcl"
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
|
-
"match": "
|
|
656
|
+
"match": "\\>",
|
|
657
657
|
"name": "keyword.operator.hcl"
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
|
-
"match": "
|
|
660
|
+
"match": "\\<",
|
|
661
661
|
"name": "keyword.operator.hcl"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
@@ -669,11 +669,11 @@
|
|
|
669
669
|
"name": "keyword.operator.hcl"
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
|
-
"match": "
|
|
672
|
+
"match": "\\:",
|
|
673
673
|
"name": "keyword.operator.hcl"
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
|
-
"match": "
|
|
676
|
+
"match": "\\=\\>",
|
|
677
677
|
"name": "keyword.operator.hcl"
|
|
678
678
|
}
|
|
679
679
|
]
|
package/grammars/hjson.json
CHANGED
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
]
|
|
446
446
|
},
|
|
447
447
|
"key": {
|
|
448
|
-
"begin": "(?:((?:[
|
|
448
|
+
"begin": "(?:((?:[^:,\\{\\}\\[\\]\\s\"'][^:,\\{\\}\\[\\]\\s]*)|(?:'(?:[^\\\\']|(\\\\(?:[\"'\\\\\\/bfnrt]|u[0-9a-fA-F]{4}))|(\\\\.))*')|(?:\"(?:[^\\\\\"]|(\\\\(?:[\"'\\\\\\/bfnrt]|u[0-9a-fA-F]{4}))|(\\\\.))*\"))\\s*(?!\\n)([,\\{\\}\\[\\]]*))",
|
|
449
449
|
"beginCaptures": {
|
|
450
450
|
"0": {
|
|
451
451
|
"name": "meta.structure.key-value.begin.hjson"
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
]
|
|
493
493
|
},
|
|
494
494
|
"keyValue": {
|
|
495
|
-
"begin": "(?:\\s*(:)\\s*([
|
|
495
|
+
"begin": "(?:\\s*(:)\\s*([,\\}\\]]*))",
|
|
496
496
|
"beginCaptures": {
|
|
497
497
|
"1": {
|
|
498
498
|
"name": "punctuation.separator.dictionary.key-value.hjson"
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
"name": "punctuation.definition.array.begin.hjson"
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
|
-
"end": "(\\])(?:\\s*([^,\\s}]+))?",
|
|
586
|
+
"end": "(\\])(?:\\s*([^,\\s\\}]+))?",
|
|
587
587
|
"endCaptures": {
|
|
588
588
|
"1": {
|
|
589
589
|
"name": "punctuation.definition.array.end.hjson"
|
|
@@ -655,7 +655,7 @@
|
|
|
655
655
|
"name": "punctuation.definition.string.begin.hjson"
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
|
-
"end": "(\")(?:\\s*((?:[^,\\s}#/]|/[^/*])+))?",
|
|
658
|
+
"end": "(\")(?:\\s*((?:[^,\\s\\}#/]|/[^/*])+))?",
|
|
659
659
|
"endCaptures": {
|
|
660
660
|
"1": {
|
|
661
661
|
"name": "punctuation.definition.string.end.hjson"
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
"name": "punctuation.definition.string.begin.hjson"
|
|
679
679
|
}
|
|
680
680
|
},
|
|
681
|
-
"end": "(')(?:\\s*((?:[^,\\s}#/]|/[^/*])+))?",
|
|
681
|
+
"end": "(')(?:\\s*((?:[^,\\s\\}#/]|/[^/*])+))?",
|
|
682
682
|
"endCaptures": {
|
|
683
683
|
"1": {
|
|
684
684
|
"name": "punctuation.definition.string.end.hjson"
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
"name": "punctuation.definition.string.begin.hjson"
|
|
704
704
|
}
|
|
705
705
|
},
|
|
706
|
-
"end": "(''')(?:\\s*((?:[^,\\s}#/]|/[^/*])+))?",
|
|
706
|
+
"end": "(''')(?:\\s*((?:[^,\\s\\}#/]|/[^/*])+))?",
|
|
707
707
|
"endCaptures": {
|
|
708
708
|
"1": {
|
|
709
709
|
"name": "punctuation.definition.string.end.hjson"
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
]
|
|
795
795
|
},
|
|
796
796
|
"ustring": {
|
|
797
|
-
"match": "([
|
|
797
|
+
"match": "([^:,\\{\\[\\}\\]\\s].*)$",
|
|
798
798
|
"name": "string.quoted.none.hjson"
|
|
799
799
|
},
|
|
800
800
|
"value": {
|
package/grammars/hlsl.json
CHANGED
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"name": "comment.line.double-slash.hlsl"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
"match": "\\b
|
|
16
|
+
"match": "\\b[0-9]+\\.[0-9]*(F|f)?\\b",
|
|
17
17
|
"name": "constant.numeric.decimal.hlsl"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
"match": "(\\.(
|
|
20
|
+
"match": "(\\.([0-9]+)(F|f)?)\\b",
|
|
21
21
|
"name": "constant.numeric.decimal.hlsl"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"match": "\\b(
|
|
24
|
+
"match": "\\b([0-9]+(F|f)?)\\b",
|
|
25
25
|
"name": "constant.numeric.decimal.hlsl"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -53,23 +53,23 @@
|
|
|
53
53
|
"name": "storage.type.basic.hlsl"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"match": "\\b([a-zA-Z_]
|
|
56
|
+
"match": "\\b([a-zA-Z_][a-zA-Z0-9_]*)(?=[\\s]*\\()",
|
|
57
57
|
"name": "support.function.hlsl"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
"match": "(
|
|
60
|
+
"match": "(?<=\\:\\s|\\:)(?i:BINORMAL[0-9]*|BLENDINDICES[0-9]*|BLENDWEIGHT[0-9]*|COLOR[0-9]*|NORMAL[0-9]*|POSITIONT|POSITION|PSIZE[0-9]*|TANGENT[0-9]*|TEXCOORD[0-9]*|FOG|TESSFACTOR[0-9]*|VFACE|VPOS|DEPTH[0-9]*)\\b",
|
|
61
61
|
"name": "support.variable.semantic.hlsl"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
"match": "(
|
|
64
|
+
"match": "(?<=\\:\\s|\\:)(?i:SV_ClipDistance[0-9]*|SV_CullDistance[0-9]*|SV_Coverage|SV_Depth|SV_DepthGreaterEqual[0-9]*|SV_DepthLessEqual[0-9]*|SV_InstanceID|SV_IsFrontFace|SV_Position|SV_RenderTargetArrayIndex|SV_SampleIndex|SV_StencilRef|SV_Target[0-7]?|SV_VertexID|SV_ViewportArrayIndex)\\b",
|
|
65
65
|
"name": "support.variable.semantic.sm4.hlsl"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
"match": "(
|
|
68
|
+
"match": "(?<=\\:\\s|\\:)(?i:SV_DispatchThreadID|SV_DomainLocation|SV_GroupID|SV_GroupIndex|SV_GroupThreadID|SV_GSInstanceID|SV_InsideTessFactor|SV_OutputControlPointID|SV_TessFactor)\\b",
|
|
69
69
|
"name": "support.variable.semantic.sm5.hlsl"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
"match": "(
|
|
72
|
+
"match": "(?<=\\:\\s|\\:)(?i:SV_InnerCoverage|SV_StencilRef)\\b",
|
|
73
73
|
"name": "support.variable.semantic.sm5_1.hlsl"
|
|
74
74
|
},
|
|
75
75
|
{
|
package/grammars/html.json
CHANGED
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
"name": "punctuation.definition.entity.html"
|
|
548
548
|
}
|
|
549
549
|
},
|
|
550
|
-
"match": "(&)
|
|
550
|
+
"match": "(&)#[0-9]+(;)",
|
|
551
551
|
"name": "constant.character.entity.numeric.decimal.html"
|
|
552
552
|
},
|
|
553
553
|
{
|
|
@@ -1935,7 +1935,7 @@
|
|
|
1935
1935
|
},
|
|
1936
1936
|
{
|
|
1937
1937
|
"begin": "\\G",
|
|
1938
|
-
"end": "(?
|
|
1938
|
+
"end": "(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=>\t\t\t\t\t\t\t\t\t\t\t# Tag without type attribute\n\t\t\t\t\t\t\t\t\t\t\t\t | type(?=[\\s=])\n\t\t\t\t\t\t\t\t\t\t\t\t \t(?!\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t''\t\t\t\t\t\t\t\t# Empty\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | \"\"\t\t\t\t\t\t\t\t\t# Values\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | ('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\t\t\t\t\t\t\t# Text mime-types\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjavascript(1\\.[0-5])?\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | x-javascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | jscript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | livescript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-)?ecmascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | babel\t\t\t\t\t\t# Javascript variant currently\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t# recognized as such\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | application/\t\t\t\t\t# Application mime-types\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(x-)?javascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-)?ecmascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'>]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)",
|
|
1939
1939
|
"name": "meta.tag.metadata.script.start.html",
|
|
1940
1940
|
"patterns": [
|
|
1941
1941
|
{
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
]
|
|
1945
1945
|
},
|
|
1946
1946
|
{
|
|
1947
|
-
"begin": "(?
|
|
1947
|
+
"begin": "(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tx-handlebars\n\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-(handlebars-)?|ng-)?template\n\t\t\t\t\t\t\t\t\t\t\t\t\t | html\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'>]\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)",
|
|
1948
1948
|
"end": "((<))(?=/(?i:script))",
|
|
1949
1949
|
"endCaptures": {
|
|
1950
1950
|
"0": {
|
package/grammars/http.json
CHANGED
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"name": "string.other.http"
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
|
-
"match": "^([\\w\\-]+)\\s*(
|
|
127
|
+
"match": "^([\\w\\-]+)\\s*(\\:)\\s*([^/].*?)\\s*$",
|
|
128
128
|
"name": "http.headers"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"name": "string.other.http"
|
|
293
293
|
}
|
|
294
294
|
},
|
|
295
|
-
"match": "(?i)^\\s*(HTTP\\/\\S+)\\s([1-5]
|
|
295
|
+
"match": "(?i)^\\s*(HTTP\\/\\S+)\\s([1-5][0-9][0-9])\\s(.*)$",
|
|
296
296
|
"name": "http.responseLine"
|
|
297
297
|
}
|
|
298
298
|
},
|
package/grammars/hy.json
CHANGED
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"builtin": {
|
|
39
39
|
"patterns": [
|
|
40
40
|
{
|
|
41
|
-
"match": "(?<![\\.:\\w_
|
|
41
|
+
"match": "(?<![\\.:\\w_\\-=!@\\$%^&?/<>*])(abs|all|any|ascii|bin|breakpoint|callable|chr|compile|delattr|dir|divmod|eval|exec|format|getattr|globals|hasattr|hash|hex|id|input|isinstance|issubclass|iter|aiter|len|locals|max|min|next|anext|oct|ord|pow|print|repr|round|setattr|sorted|sum|vars|False|None|True|NotImplemented|bool|memoryview|bytearray|bytes|classmethod|complex|dict|enumerate|filter|float|frozenset|property|int|list|map|object|range|reversed|set|slice|staticmethod|str|super|tuple|type|zip|open|quit|exit|copyright|credits|help)(?![\\.:\\w_\\-=!@\\$%^&?/<>*])",
|
|
42
42
|
"name": "storage.builtin.hy"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
"match": "(?<=\\(\\s*)\\.\\.\\.(?![\\.:\\w_
|
|
45
|
+
"match": "(?<=\\(\\s*)\\.\\.\\.(?![\\.:\\w_\\-=!@\\$%^&?/<>*])",
|
|
46
46
|
"name": "storage.builtin.dots.hy"
|
|
47
47
|
}
|
|
48
48
|
]
|
|
@@ -58,23 +58,23 @@
|
|
|
58
58
|
"constants": {
|
|
59
59
|
"patterns": [
|
|
60
60
|
{
|
|
61
|
-
"match": "(?<=[{\\[(\\s])(
|
|
61
|
+
"match": "(?<=[\\{\\[\\(\\s])([0-9]+(\\.[0-9]+)?|(#x)[0-9a-fA-F]+|(#o)[0-7]+|(#b)[01]+)(?=[\\s;()'\",\\[\\]\\{\\}])",
|
|
62
62
|
"name": "constant.numeric.hy"
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
66
|
"keysym": {
|
|
67
|
-
"match": "(?<![\\.:\\w_
|
|
67
|
+
"match": "(?<![\\.:\\w_\\-=!@\\$%^&?\\/<>*]):[\\.:\\w_\\-=!@\\$%^&?\\/<>*]*",
|
|
68
68
|
"name": "variable.other.constant"
|
|
69
69
|
},
|
|
70
70
|
"keywords": {
|
|
71
71
|
"patterns": [
|
|
72
72
|
{
|
|
73
|
-
"match": "(?<![\\.:\\w_
|
|
73
|
+
"match": "(?<![\\.:\\w_\\-=!@\\$%^&?/<>*])(and|await|match|let|annotate|assert|break|chainc|cond|continue|deftype|do|except\\*?|finally|else|defreader|([dgls])?for|set[vx]|defclass|defmacro|del|export|eval-and-compile|eval-when-compile|get|global|if|import|(de)?fn|nonlocal|not-in|or|(quasi)?quote|require|return|cut|raise|try|unpack-iterable|unpack-mapping|unquote|unquote-splice|when|while|with|yield|local-macros|in|is|py(s)?|pragma|nonlocal|(is-)?not)(?![\\.:\\w_\\-=!@\\$%^&?/<>*])",
|
|
74
74
|
"name": "keyword.control.hy"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
"match": "(?<=\\(\\s*)\\.(?![\\.:\\w_
|
|
77
|
+
"match": "(?<=\\(\\s*)\\.(?![\\.:\\w_\\-=!@\\$%^&?/<>*])",
|
|
78
78
|
"name": "keyword.control.dot.hy"
|
|
79
79
|
}
|
|
80
80
|
]
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"operators": {
|
|
83
83
|
"patterns": [
|
|
84
84
|
{
|
|
85
|
-
"match": "(?<![\\.:\\w_
|
|
85
|
+
"match": "(?<![\\.:\\w_\\-=!@\\$%^&?/<>*])(\\+=?|\\/\\/?=?|\\*\\*?=?|--?=?|[!<>]?=|@=?|%=?|<<?=?|>>?=?|&=?|\\|=?|\\^|~@|~=?|#\\*\\*?)(?![\\.:\\w_\\-=!@\\$%^&?/<>*])",
|
|
86
86
|
"name": "keyword.control.hy"
|
|
87
87
|
}
|
|
88
88
|
]
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
101
|
"symbol": {
|
|
102
|
-
"match": "(?<![\\.:\\w_
|
|
102
|
+
"match": "(?<![\\.:\\w_\\-=!@\\$%^&?/<>*#])[\\.a-zA-ZΑ-Ωα-ω_\\-=!@\\$%^<?/<>*#][\\.:\\w_\\-=!@\\$%^&?/<>*#]*",
|
|
103
103
|
"name": "variable.other.hy"
|
|
104
104
|
}
|
|
105
105
|
},
|