tm-grammars 1.24.0 → 1.24.1

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 CHANGED
@@ -30,7 +30,7 @@ import { grammars } from 'tm-grammars'
30
30
  | `apl` | | [kimmolinna/vscode-apl-language](https://github.com/kimmolinna/vscode-apl-language/blob/13541242d9ffae225e89ebba23f9abaa4c60697e/syntaxes/apl.tmLanguage.json) | | | `html` `xml` `css` `javascript` `json` | 22.69 kB |
31
31
  | `applescript` | | [textmate/applescript.tmbundle](https://github.com/textmate/applescript.tmbundle/blob/4947cad7494eba084c21cfe04689b4efce96700f/Syntaxes/AppleScript.tmLanguage) | | | | 27.80 kB |
32
32
  | `ara` | | [ara-lang/highlighting](https://github.com/ara-lang/highlighting/blob/ed1dbedcf03d0b67207e41fe2e11218cc925dc0d/syntaxes/ara.json) | [Apache-2.0](https://raw.githubusercontent.com/ara-lang/highlighting/main/LICENSE-APACHE) | | | 5.91 kB |
33
- | `asciidoc` | `adoc` | [asciidoctor/asciidoctor-vscode](https://github.com/asciidoctor/asciidoctor-vscode/blob/d9b169e4c367a605eba9039b40440330b11aa775/syntaxes/Asciidoctor.json) | [NOASSERTION](https://raw.githubusercontent.com/asciidoctor/asciidoctor-vscode/master/LICENSE) | | `html` `yaml` `csv` `c` `clojure` `coffee` `cpp` `css` `csharp` `diff` `docker` `elixir` `elm` `erlang` `go` `groovy` `haskell` `java` `javascript` `json` `jsx` `julia` `kotlin` `less` `make` `objective-c` `ocaml` `perl` `python` `r` `ruby` `rust` `sass` `scala` `scss` `shellscript` `sql` `swift` `toml` `typescript` `xml` | 81.89 kB |
33
+ | `asciidoc` | `adoc` | [asciidoctor/asciidoctor-vscode](https://github.com/asciidoctor/asciidoctor-vscode/blob/1a6fcfa53e199360926491f91a54bdf6542622ac/syntaxes/Asciidoctor.json) | [NOASSERTION](https://raw.githubusercontent.com/asciidoctor/asciidoctor-vscode/master/LICENSE) | | `html` `yaml` `csv` `c` `clojure` `coffee` `cpp` `css` `csharp` `diff` `docker` `elixir` `elm` `erlang` `go` `groovy` `haskell` `java` `javascript` `json` `jsx` `julia` `kotlin` `less` `make` `objective-c` `ocaml` `perl` `python` `r` `ruby` `rust` `sass` `scala` `scss` `shellscript` `sql` `swift` `toml` `typescript` `xml` | 81.89 kB |
34
34
  | `asm` | | [13xforever/x86_64-assembly-vscode](https://github.com/13xforever/x86_64-assembly-vscode/blob/5c1958f4283d260f5dc88fa4f5f31c620e061a5a/syntaxes/language-x86_64-assembly.tmLanguage) | [MIT](https://raw.githubusercontent.com/13xforever/x86_64-assembly-vscode/master/LICENSE.txt) | | | 38.43 kB |
35
35
  | `astro` | | [withastro/language-tools](https://github.com/withastro/language-tools/blob/8e55c37cbcf134dedf0068781245da5a9d46d081/packages/vscode/syntaxes/astro.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE) | [GitHub Sponsors: **@withastro**](https://github.com/sponsors/withastro) [Open Collective: **astrodotbuild**](https://opencollective.com/astrodotbuild) [thanks.dev: **u/gh/withastro**](https://thanks.dev/d/u/gh/withastro) | `json` `javascript` `typescript` `stylus` `sass` `css` `scss` `less` `postcss` `tsx` | 22.87 kB |
36
36
  | `awk` | | [luggage66/vscode-awk](https://github.com/luggage66/vscode-awk/blob/eff8c0f160ae16592c8d9963fd77046137fd2612/syntaxes/awk.tmLanguage) | [MIT](https://raw.githubusercontent.com/luggage66/vscode-awk/master/LICENSE.txt) | | | 5.16 kB |
@@ -167,7 +167,7 @@ import { grammars } from 'tm-grammars'
167
167
  | `proto` | `protobuf` | [zxh0/vscode-proto3](https://github.com/zxh0/vscode-proto3/blob/ead0fb5f46a56adbe30d5a8a63d68e7131912159/syntaxes/proto3.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/zxh0/vscode-proto3/master/LICENSE.txt) | | | 6.09 kB |
168
168
  | `pug` | `jade` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/pug/syntaxes/pug.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `javascript` `css` `sass` `scss` `stylus` `coffee` `html` | 12.73 kB |
169
169
  | `puppet` | | [octref/puppet-vscode](https://github.com/octref/puppet-vscode/blob/42e02ef6c02aefb0dcf03f8367fdc106d7213a6c/syntaxes/puppet.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/octref/puppet-vscode/main/LICENSE) | [GitHub Sponsors: **@octref**](https://github.com/sponsors/octref) | | 10.81 kB |
170
- | `purescript` | | [nwolverson/vscode-language-purescript](https://github.com/nwolverson/vscode-language-purescript/blob/52a2ab241ee6f9b5f8b91a02d9227654357965ee/syntaxes/purescript.json) | [NOASSERTION](https://raw.githubusercontent.com/nwolverson/vscode-language-purescript/master/LICENSE.md) | | | 21.19 kB |
170
+ | `purescript` | | [nwolverson/vscode-language-purescript](https://github.com/nwolverson/vscode-language-purescript/blob/b7641936190d6d8eb346660284dab3a5d1cc636f/syntaxes/purescript.json) | [NOASSERTION](https://raw.githubusercontent.com/nwolverson/vscode-language-purescript/master/LICENSE.md) | | | 22.21 kB |
171
171
  | `python` | `py` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf4c9e469d521fa5f33353737e8157eb0789ad02/extensions/python/syntaxes/MagicPython.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 66.54 kB |
172
172
  | `qml` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/51408001e908800c00ce9f68f66e511545ea29fe/syntaxes/qml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | `javascript` | 4.91 kB |
173
173
  | `qmldir` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/b301e7b18493ba59c4f52e49c3f73b6cd23d4c4b/syntaxes/qmldir.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | | 902.00 B |
@@ -202,7 +202,7 @@ import { grammars } from 'tm-grammars'
202
202
  | `stata` | | [kylebarron/language-stata](https://github.com/kylebarron/language-stata/blob/dd98de502bc1bf2a205f3f023afb98c7aa5b42ee/grammars/stata.json) | [MIT](https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE) | | `sql` | 54.40 kB |
203
203
  | `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | [Open Collective: **stylus**](https://opencollective.com/stylus) | | 29.69 kB |
204
204
  | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/d12a9ae276c9f4c6a62964bbdca074424cbab123/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | [Open Collective: **svelte**](https://opencollective.com/svelte) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 16.81 kB |
205
- | `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/b8d2889b4af1d8bad41578317a6adade642555a3/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 81.28 kB |
205
+ | `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/0897d8939a82ddcf6533e9f318e5942b1265416b/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 81.54 kB |
206
206
  | `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/a63b28cd8f15d9ec4861b2f802e8bf6ce4f6d2f2/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | [buymeacoffee.com](https://www.buymeacoffee.com/mshr.h) | | 24.20 kB |
207
207
  | `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/62ace1156b5afa0ec9932e3a55cfc00c0123c457/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | | 7.39 kB |
208
208
  | `talonscript` | `talon` | [mrob95/vscode-TalonScript](https://github.com/mrob95/vscode-TalonScript/blob/91f3a6faaf926c02582f36ee155f2c4a02b9cc48/syntaxes/talon.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mirober/vscode-TalonScript/master/LICENSE) | | | 6.40 kB |
@@ -38,6 +38,9 @@
38
38
  {
39
39
  "include": "#function_type_declaration"
40
40
  },
41
+ {
42
+ "include": "#function_type_declaration_arrow_first"
43
+ },
41
44
  {
42
45
  "include": "#typed_hole"
43
46
  },
@@ -78,13 +81,13 @@
78
81
  "include": "#markup_newline"
79
82
  },
80
83
  {
81
- "include": "#double_colon_parens"
84
+ "include": "#string_double_colon_parens"
82
85
  },
83
86
  {
84
- "include": "#double_colon_inlined"
87
+ "include": "#double_colon_parens"
85
88
  },
86
89
  {
87
- "include": "#double_colon_orphan"
90
+ "include": "#double_colon_inlined"
88
91
  },
89
92
  {
90
93
  "include": "#comments"
@@ -397,27 +400,25 @@
397
400
  ]
398
401
  }
399
402
  },
400
- "match": "(::|∷)(.*)(?=<-|\"\"\")"
403
+ "match": "(::|∷)(.*?)(?=<-| \"\"\")"
401
404
  }
402
405
  ]
403
406
  },
404
407
  {
405
408
  "patterns": [
406
409
  {
407
- "captures": {
410
+ "begin": "(::|∷)",
411
+ "beginCaptures": {
408
412
  "1": {
409
413
  "name": "keyword.other.double-colon.purescript"
410
- },
411
- "2": {
412
- "name": "meta.type-signature.purescript",
413
- "patterns": [
414
- {
415
- "include": "#type_signature"
416
- }
417
- ]
418
414
  }
419
415
  },
420
- "match": "(::|∷)(.*)"
416
+ "end": "(?=^([\\s\\S]))",
417
+ "patterns": [
418
+ {
419
+ "include": "#type_signature"
420
+ }
421
+ ]
421
422
  }
422
423
  ]
423
424
  }
@@ -464,7 +465,7 @@
464
465
  ]
465
466
  }
466
467
  },
467
- "match": "\\((?<paren>(?:[^()]|\\(\\g<paren>\\))*)(::|∷)(?<paren2>(?:[^()]|\\(\\g<paren2>\\))*)\\)"
468
+ "match": "\\((?<paren>(?:[^()]|\\(\\g<paren>\\))*)(::|∷)(?<paren2>(?:[^()}]|\\(\\g<paren2>\\))*)\\)"
468
469
  }
469
470
  ]
470
471
  },
@@ -503,7 +504,7 @@
503
504
  "foreign_import_data": {
504
505
  "patterns": [
505
506
  {
506
- "begin": "^(\\s*)(foreign)\\s+(import)\\s+(data)(?:\\s+([\\p{Lu}\\p{Lt}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*)\\s*(::|∷))?",
507
+ "begin": "^(\\s*)(foreign)\\s+(import)\\s+(data)\\s(?:\\s+([\\p{Lu}\\p{Lt}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*)\\s*(::|∷))?",
507
508
  "beginCaptures": {
508
509
  "2": {
509
510
  "name": "keyword.other.purescript"
@@ -549,7 +550,7 @@
549
550
  "name": "punctuation.definition.entity.purescript"
550
551
  }
551
552
  },
552
- "match": "(`)(?:[\\p{Lu}\\p{Lt}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*(?:\\.[\\p{Lu}\\p{Lt}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*)*\\.)?[_\\p{Ll}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*(`)",
553
+ "match": "(`)(?:[\\p{Lu}\\p{Lt}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*(?:\\.[\\p{Lu}\\p{Lt}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*)*\\.)?[_\\p{Ll}]['_\\p{Ll}\\p{Lu}\\p{Lt}\\d]*.*(`)",
553
554
  "name": "keyword.operator.function.infix.purescript"
554
555
  }
555
556
  ]
@@ -586,6 +587,35 @@
586
587
  }
587
588
  ]
588
589
  },
590
+ "function_type_declaration_arrow_first": {
591
+ "patterns": [
592
+ {
593
+ "begin": "^(\\s*)\\s(::|∷)(?!.*<-)",
594
+ "beginCaptures": {
595
+ "2": {
596
+ "name": "keyword.other.double-colon.purescript"
597
+ }
598
+ },
599
+ "contentName": "meta.type-signature.purescript",
600
+ "end": "^(?!\\1[\\t ]|[\\t ]*$)",
601
+ "name": "meta.function.type-declaration.purescript",
602
+ "patterns": [
603
+ {
604
+ "include": "#double_colon"
605
+ },
606
+ {
607
+ "include": "#type_signature"
608
+ },
609
+ {
610
+ "include": "#record_types"
611
+ },
612
+ {
613
+ "include": "#row_types"
614
+ }
615
+ ]
616
+ }
617
+ ]
618
+ },
589
619
  "generic_type": {
590
620
  "patterns": [
591
621
  {
@@ -621,7 +651,7 @@
621
651
  "include": "#data_ctor"
622
652
  },
623
653
  {
624
- "match": "\\d+",
654
+ "match": " \\d+ ",
625
655
  "name": "constant.numeric.purescript"
626
656
  },
627
657
  {
@@ -931,6 +961,29 @@
931
961
  }
932
962
  ]
933
963
  },
964
+ "string_double_colon_parens": {
965
+ "patterns": [
966
+ {
967
+ "captures": {
968
+ "1": {
969
+ "patterns": [
970
+ {
971
+ "include": "$self"
972
+ }
973
+ ]
974
+ },
975
+ "2": {
976
+ "patterns": [
977
+ {
978
+ "include": "$self"
979
+ }
980
+ ]
981
+ }
982
+ },
983
+ "match": "\\((.*?)(\"(?:[ -\\[\\]-~]|(\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\"\\&'\\\\abfnrtv]))|(\\\\o[0-7]+)|(\\\\x\\h+)|(\\^[@-_]))*(::|∷)([ -\\[\\]-~]|(\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\"\\&'\\\\abfnrtv]))|(\\\\o[0-7]+)|(\\\\x\\h+)|(\\^[@-_]))*\")"
984
+ }
985
+ ]
986
+ },
934
987
  "string_double_quoted": {
935
988
  "patterns": [
936
989
  {
@@ -1125,6 +1125,10 @@
1125
1125
  "end": "(?!\\G)(?=\\{|\\bwhere\\b|[;=])|$",
1126
1126
  "name": "meta.function-result.swift",
1127
1127
  "patterns": [
1128
+ {
1129
+ "match": "\\bsending\\b",
1130
+ "name": "storage.modifier.swift"
1131
+ },
1128
1132
  {
1129
1133
  "include": "#declarations-available-types"
1130
1134
  }
@@ -1195,6 +1199,9 @@
1195
1199
  },
1196
1200
  "name": "meta.generic-argument-clause.swift",
1197
1201
  "patterns": [
1202
+ {
1203
+ "include": "#literals-numeric"
1204
+ },
1198
1205
  {
1199
1206
  "include": "#declarations-available-types"
1200
1207
  }
@@ -1221,6 +1228,10 @@
1221
1228
  {
1222
1229
  "include": "#declarations-generic-where-clause"
1223
1230
  },
1231
+ {
1232
+ "match": "\\blet\\b",
1233
+ "name": "keyword.other.declaration-specifier.swift"
1234
+ },
1224
1235
  {
1225
1236
  "match": "\\beach\\b",
1226
1237
  "name": "keyword.control.loop.swift"
@@ -1435,6 +1446,9 @@
1435
1446
  "begin": "\\G",
1436
1447
  "end": "(?!\\G)$|(?=[={}]|(?!\\G)\\bwhere\\b)",
1437
1448
  "patterns": [
1449
+ {
1450
+ "include": "#attributes"
1451
+ },
1438
1452
  {
1439
1453
  "include": "#comments"
1440
1454
  },
@@ -1466,6 +1480,9 @@
1466
1480
  "end": "(?!\\G)(?!/[*/])|(?=[,={}]|(?!\\G)\\bwhere\\b)",
1467
1481
  "name": "meta.inheritance-list.more-types",
1468
1482
  "patterns": [
1483
+ {
1484
+ "include": "#attributes"
1485
+ },
1469
1486
  {
1470
1487
  "include": "#comments"
1471
1488
  },
@@ -1698,6 +1715,10 @@
1698
1715
  "begin": ":\\s*(?!\\s)",
1699
1716
  "end": "(?=[),])",
1700
1717
  "patterns": [
1718
+ {
1719
+ "match": "\\bsending\\b",
1720
+ "name": "storage.modifier.swift"
1721
+ },
1701
1722
  {
1702
1723
  "include": "#declarations-available-types"
1703
1724
  },
@@ -2748,7 +2769,7 @@
2748
2769
  "name": "keyword.control.branch.swift"
2749
2770
  },
2750
2771
  {
2751
- "match": "(?<!\\.)\\b(?:continue|break|fallthrough|return)\\b",
2772
+ "match": "(?<!\\.)\\b(?:continue|break|fallthrough|return|yield)\\b",
2752
2773
  "name": "keyword.control.transfer.swift"
2753
2774
  },
2754
2775
  {
@@ -2828,7 +2849,7 @@
2828
2849
  "name": "storage.modifier.swift"
2829
2850
  },
2830
2851
  {
2831
- "match": "\\binit[!?]|\\binit\\b|(?<!\\.)\\b(?:func|deinit|subscript|didSet|get|set|willSet)\\b",
2852
+ "match": "\\binit[!?]|\\binit\\b|(?<!\\.)\\b(?:func|deinit|subscript|didSet|get|set|willSet|yielding\\s+borrow|yielding\\s+mutate)\\b",
2832
2853
  "name": "storage.type.function.swift"
2833
2854
  },
2834
2855
  {
@@ -3014,15 +3035,34 @@
3014
3035
  "1": {
3015
3036
  "name": "punctuation.definition.string.begin.regexp.swift"
3016
3037
  },
3017
- "8": {
3038
+ "3": {
3039
+ "name": "punctuation.definition.string.end.regexp.swift"
3040
+ }
3041
+ },
3042
+ "match": "(/)(?!\\s)(?!/)(?:\\\\\\s(?=/)|(?<guts>(?>(?:\\\\Q(?:(?!\\\\E)(?!/).)*+(?:\\\\E|(?=/))|\\\\.|\\(\\?#[^)]*\\)|\\(\\?(?>\\{(?:[^{].*?|\\{[^{].*?}|\\{\\{[^{].*?}}|\\{\\{\\{[^{].*?}}}|\\{\\{\\{\\{[^{].*?}}}}|\\{\\{\\{\\{\\{.+?}}}}})})(?:\\[(?!\\d)\\w+])?[<>X]?\\)|\\[(?:\\\\.|[^]\\[\\\\]|\\[(?:\\\\.|[^]\\[\\\\]|\\[(?:\\\\.|[^]\\[\\\\]|\\[(?:\\\\.|[^]\\[\\\\])+])+])+])+]|\\(\\g<guts>?+\\)|(?:(?!/)[^()\\[\\\\])+)+))?+(?<!\\s))(/)",
3043
+ "name": "string.regexp.line.swift"
3044
+ },
3045
+ {
3046
+ "captures": {
3047
+ "0": {
3048
+ "patterns": [
3049
+ {
3050
+ "include": "#literals-regular-expression-literal-regex-guts"
3051
+ }
3052
+ ]
3053
+ },
3054
+ "1": {
3055
+ "name": "punctuation.definition.string.begin.regexp.swift"
3056
+ },
3057
+ "4": {
3018
3058
  "name": "punctuation.definition.string.end.regexp.swift"
3019
3059
  },
3020
- "9": {
3060
+ "5": {
3021
3061
  "name": "invalid.illegal.returns-not-allowed.regexp"
3022
3062
  }
3023
3063
  },
3024
- "match": "(?x)\n(?!/\\s) # non-extended regex literals may not start with a space or tab\n(?!//) # disambiguation with line comments (redundant since comment rules occur earlier)\n(((\\#+)?)/) # (1) for captures, (2) for matching end, (3) for conditionals\n(\\\\\\s)? # (4) may start with an escaped space or tab\n(?<guts>\n (?> # no backtracking, avoids issues with negative lookbehind at end\n (?:\n \\\\Q\n (?:(?!\\\\E)(?!/\\2).)*+\n (?:\\\\E\n # A quoted sequence may not have a closing E, in which case it extends to the end of the regex\n | (?(3)|(?<!\\s))(?=/\\2)\n )\n | \\\\.\n | \\(\\?\\#[^)]*\\)\n | \\(\\?\n # InterpolatedCallout\n (?>(\\{(?:\\g<-1>|(?!{).*?)\\}))\n (?:\\[(?!\\d)\\w+\\])?\n [X<>]?\n \\)\n | (?<class>\\[ (?:\\\\. | [^\\[\\]] | \\g<class>)+ \\])\n | \\(\\g<guts>?+\\)\n | (?:(?!/\\2)[^()\\[\\\\])+ # any character (until end)\n )+\n )\n)?+\n# may end with a space only if it is an extended literal or contains only a single escaped space\n(?(3)|(?(5)(?<!\\s)))\n(/\\2) # (12)\n| \\#+/.+(\\n)",
3025
- "name": "string.regexp.line.swift"
3064
+ "match": "((#+)/)(?<guts>(?>(?:\\\\Q(?:(?!\\\\E)(?!/\\2).)*+(?:\\\\E|(?=/\\2))|\\\\.|\\(\\?#[^)]*\\)|\\(\\?(?>\\{(?:[^{].*?|\\{[^{].*?}|\\{\\{[^{].*?}}|\\{\\{\\{[^{].*?}}}|\\{\\{\\{\\{[^{].*?}}}}|\\{\\{\\{\\{\\{.+?}}}}})})(?:\\[(?!\\d)\\w+])?[<>X]?\\)|\\[(?:\\\\.|[^]\\[\\\\]|\\[(?:\\\\.|[^]\\[\\\\]|\\[(?:\\\\.|[^]\\[\\\\]|\\[(?:\\\\.|[^]\\[\\\\])+])+])+])+]|\\(\\g<guts>?+\\)|(?:(?!/\\2)[^()\\[\\\\])+)+))?+(/\\2)|#+/.+(\\n)",
3065
+ "name": "string.regexp.line.extended.swift"
3026
3066
  }
3027
3067
  ]
3028
3068
  },
package/index.js CHANGED
@@ -241,15 +241,15 @@ export const grammars = [
241
241
  ],
242
242
  funding: [
243
243
  ],
244
- hash: 'yC0uteSxftlz0SkmV1QWc4O8YEYKK_z9Jkm7uKKcM4A',
245
- lastUpdate: '2025-04-06T16:02:02Z',
244
+ hash: 'VkDXNQyP_tCrb7lDku7pIBEgAouJMexo3fRsoKKmygw',
245
+ lastUpdate: '2025-07-14T18:55:18Z',
246
246
  license: 'NOASSERTION',
247
247
  licenseUrl: 'https://raw.githubusercontent.com/asciidoctor/asciidoctor-vscode/master/LICENSE',
248
248
  name: 'asciidoc',
249
249
  scopeName: 'text.asciidoc',
250
- sha: 'd9b169e4c367a605eba9039b40440330b11aa775',
251
- source: 'https://github.com/asciidoctor/asciidoctor-vscode/blob/d9b169e4c367a605eba9039b40440330b11aa775/syntaxes/Asciidoctor.json',
252
- sourceApi: 'https://api.github.com/repos/asciidoctor/asciidoctor-vscode/contents/syntaxes/Asciidoctor.json?ref=d9b169e4c367a605eba9039b40440330b11aa775',
250
+ sha: '1a6fcfa53e199360926491f91a54bdf6542622ac',
251
+ source: 'https://github.com/asciidoctor/asciidoctor-vscode/blob/1a6fcfa53e199360926491f91a54bdf6542622ac/syntaxes/Asciidoctor.json',
252
+ sourceApi: 'https://api.github.com/repos/asciidoctor/asciidoctor-vscode/contents/syntaxes/Asciidoctor.json?ref=1a6fcfa53e199360926491f91a54bdf6542622ac',
253
253
  },
254
254
  {
255
255
  byteSize: 39351,
@@ -3089,19 +3089,19 @@ export const grammars = [
3089
3089
  sourceApi: 'https://api.github.com/repos/octref/puppet-vscode/contents/syntaxes/puppet.tmLanguage?ref=42e02ef6c02aefb0dcf03f8367fdc106d7213a6c',
3090
3090
  },
3091
3091
  {
3092
- byteSize: 21697,
3092
+ byteSize: 22745,
3093
3093
  displayName: 'PureScript',
3094
3094
  funding: [
3095
3095
  ],
3096
- hash: 'LNhY2u12fXmMKLJU5g4gFx4FNryU4UT6pvoyF_2qcEQ',
3097
- lastUpdate: '2025-03-07T08:17:45Z',
3096
+ hash: 'tBryqPq1UdNNW-Yj3lY_I0Tvd5nAFWsPk_mZC6utxKw',
3097
+ lastUpdate: '2025-07-20T22:00:32Z',
3098
3098
  license: 'NOASSERTION',
3099
3099
  licenseUrl: 'https://raw.githubusercontent.com/nwolverson/vscode-language-purescript/master/LICENSE.md',
3100
3100
  name: 'purescript',
3101
3101
  scopeName: 'source.purescript',
3102
- sha: '52a2ab241ee6f9b5f8b91a02d9227654357965ee',
3103
- source: 'https://github.com/nwolverson/vscode-language-purescript/blob/52a2ab241ee6f9b5f8b91a02d9227654357965ee/syntaxes/purescript.json',
3104
- sourceApi: 'https://api.github.com/repos/nwolverson/vscode-language-purescript/contents/syntaxes/purescript.json?ref=52a2ab241ee6f9b5f8b91a02d9227654357965ee',
3102
+ sha: 'b7641936190d6d8eb346660284dab3a5d1cc636f',
3103
+ source: 'https://github.com/nwolverson/vscode-language-purescript/blob/b7641936190d6d8eb346660284dab3a5d1cc636f/syntaxes/purescript.json',
3104
+ sourceApi: 'https://api.github.com/repos/nwolverson/vscode-language-purescript/contents/syntaxes/purescript.json?ref=b7641936190d6d8eb346660284dab3a5d1cc636f',
3105
3105
  },
3106
3106
  {
3107
3107
  aliases: [
@@ -3791,7 +3791,7 @@ export const grammars = [
3791
3791
  sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=d12a9ae276c9f4c6a62964bbdca074424cbab123',
3792
3792
  },
3793
3793
  {
3794
- byteSize: 83229,
3794
+ byteSize: 83501,
3795
3795
  categories: [
3796
3796
  'general',
3797
3797
  ],
@@ -3808,15 +3808,15 @@ export const grammars = [
3808
3808
  url: 'https://ko-fi.com/jtbandes',
3809
3809
  },
3810
3810
  ],
3811
- hash: 'dBsZHPG49TUEZuXklYZNJ-Ij8D6dqUiLpOcS-Q3qE4g',
3812
- lastUpdate: '2025-01-18T23:17:43Z',
3811
+ hash: 'W_dR_NsxzH7zpN5nQdr3wqZ4IZqttFnj5fMJpWubpQg',
3812
+ lastUpdate: '2025-07-27T19:48:35Z',
3813
3813
  license: 'MIT',
3814
3814
  licenseUrl: 'https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md',
3815
3815
  name: 'swift',
3816
3816
  scopeName: 'source.swift',
3817
- sha: 'b8d2889b4af1d8bad41578317a6adade642555a3',
3818
- source: 'https://github.com/jtbandes/swift-tmlanguage/blob/b8d2889b4af1d8bad41578317a6adade642555a3/Swift.tmLanguage.yaml',
3819
- sourceApi: 'https://api.github.com/repos/jtbandes/swift-tmlanguage/contents/Swift.tmLanguage.yaml?ref=b8d2889b4af1d8bad41578317a6adade642555a3',
3817
+ sha: '0897d8939a82ddcf6533e9f318e5942b1265416b',
3818
+ source: 'https://github.com/jtbandes/swift-tmlanguage/blob/0897d8939a82ddcf6533e9f318e5942b1265416b/Swift.tmLanguage.yaml',
3819
+ sourceApi: 'https://api.github.com/repos/jtbandes/swift-tmlanguage/contents/Swift.tmLanguage.yaml?ref=0897d8939a82ddcf6533e9f318e5942b1265416b',
3820
3820
  },
3821
3821
  {
3822
3822
  byteSize: 24776,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.24.0",
4
+ "version": "1.24.1",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",