tm-grammars 1.18.0 → 1.18.2

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
@@ -104,7 +104,7 @@ import { grammars } from 'tm-grammars'
104
104
  | `hlsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/efa12b2f49ec6ee84ed1e7bbd948808efec452f6/extensions/hlsl/syntaxes/hlsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 7.09 kB |
105
105
  | `html` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45324363153075dab0482312ae24d8c068d81e4f/extensions/html/syntaxes/html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` | 56.55 kB |
106
106
  | `html-derivative` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` | 777.00 B |
107
- | `http` | | [Huachao/vscode-restclient](https://github.com/Huachao/vscode-restclient/blob/a89f8bce1b5e3d5bd955f10916b0c101e20431d3/syntaxes/http.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Huachao/vscode-restclient/master/LICENSE) | `shellscript` `json` `xml` `graphql` | 3.95 kB |
107
+ | `http` | | [Huachao/vscode-restclient](https://github.com/Huachao/vscode-restclient/blob/6649589e4d3f97d9c0d68a4f7ffe03fa2919c4df/syntaxes/http.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Huachao/vscode-restclient/master/LICENSE) | `shellscript` `json` `xml` `graphql` | 3.95 kB |
108
108
  | `hxml` | | [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/blob/cf8117cb69876af5fbac537860ffc73928fe2571/hxml.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md) | `haxe` | 1.63 kB |
109
109
  | `hy` | | [hylang/vscode-hy](https://github.com/hylang/vscode-hy/blob/056971d04248b485da486b15e12f4155263bad18/syntaxes/hy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/hylang/vscode-hy/master/LICENSE.md) | | 2.30 kB |
110
110
  | `imba` | | [imba/imba](https://github.com/imba/imba/blob/980c223d8da94939499ad8a92c4e31a6edd4fd54/packages/vscode-imba/syntaxes/imba.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/imba/imba/master/LICENSE) | `typescript` | 47.76 kB |
@@ -181,7 +181,7 @@ import { grammars } from 'tm-grammars'
181
181
  | `rust` | `rs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/rust/syntaxes/rust.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 16.81 kB |
182
182
  | `sas` | | [rpardee/sas](https://github.com/rpardee/sas/blob/49f6e733c6c0b918a2a825ca2f63dba704f3e8c0/syntaxes/sas.tmLanguage) | [MIT](https://raw.githubusercontent.com/rpardee/sas/master/LICENSE) | `sql` | 9.30 kB |
183
183
  | `sass` | | [TheRealSyler/vscode-sass-indented](https://github.com/TheRealSyler/vscode-sass-indented/blob/7b0bd6bbbb768c0cf21b2aa0899cb872ee42fd50/syntaxes/sass.tmLanguage.json) | [NOASSERTION](https://raw.githubusercontent.com/TheRealSyler/vscode-sass-indented/master/LICENSE) | | 8.83 kB |
184
- | `scala` | | [scala/vscode-scala-syntax](https://github.com/scala/vscode-scala-syntax/blob/1addd66a1bcb65510348ee6dddb5acfcf51f4fba/syntaxes/Scala.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md) | | 26.67 kB |
184
+ | `scala` | | [scala/vscode-scala-syntax](https://github.com/scala/vscode-scala-syntax/blob/d868753f29b0281fdf221785d3530d5066f5b77d/syntaxes/Scala.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md) | | 27.05 kB |
185
185
  | `scheme` | | [sjhuangx/vscode-scheme](https://github.com/sjhuangx/vscode-scheme/blob/4e21683666e1e2edfa21d040ecd427f628e7b5ff/syntaxes/scheme.tmLanguage) | [MIT](https://raw.githubusercontent.com/sjhuangx/vscode-scheme/master/LICENSE.md) | | 8.08 kB |
186
186
  | `scss` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf8d61ebd2f022f4ce8280171f0360d1fe0a206d/extensions/scss/syntaxes/scss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` | 25.96 kB |
187
187
  | `shaderlab` | `shader` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/shaderlab/syntaxes/shaderlab.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `hlsl` | 5.80 kB |
@@ -273,7 +273,7 @@
273
273
  ]
274
274
  }
275
275
  },
276
- "match": "(?i)^(?:(get|post|put|delete|patch|head|options|connect|trace|lock|unlock|propfind|proppatch|copy|move|mkcol|mkcalendar|acl|search)\\s+)?\\s*(.+?)(?:\\s+(HTTP\\/\\S+))?$",
276
+ "match": "(?i)^(?:(get|post|put|delete|patch|head|options|connect|trace|lock|unlock|propfind|proppatch|copy|move|mkcol|mkcalendar|acl|search)\\s+)\\s*(.+?)(?:\\s+(HTTP\\/\\S+))?$",
277
277
  "name": "http.requestline"
278
278
  },
279
279
  "response-line": {
@@ -65,7 +65,7 @@
65
65
  "match": "(@(?:tparam|throws))\\s+(\\S+)"
66
66
  },
67
67
  {
68
- "match": "@(return|see|note|example|constructor|usecase|author|version|since|todo|deprecated|migration|define|inheritdoc)\\b",
68
+ "match": "@(return|see|note|example|constructor|usecase|author|version|since|todo|deprecated|migration|define|inheritdoc|groupname|groupprio|groupdesc|group|contentDiagram|documentable|syntax)\\b",
69
69
  "name": "keyword.other.documentation.scaladoc.scala"
70
70
  },
71
71
  {
@@ -743,20 +743,54 @@
743
743
  "match": "^\\s*(end)\\s+(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))?(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)"
744
744
  },
745
745
  {
746
- "match": "(==?|!=|<=|>=|<>|<|>)",
747
- "name": "keyword.operator.comparison.scala"
748
- },
749
- {
750
- "match": "(-|\\+|\\*|/(?![/*])|%|~)",
751
- "name": "keyword.operator.arithmetic.scala"
746
+ "match": "([!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]|[\\\\]){3,}",
747
+ "name": "keyword.operator.scala"
752
748
  },
753
749
  {
754
- "match": "(?<![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]|_)(!|&&|\\|\\|)(?![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}])",
755
- "name": "keyword.operator.logical.scala"
750
+ "captures": {
751
+ "1": {
752
+ "patterns": [
753
+ {
754
+ "match": "(\\|\\||&&)",
755
+ "name": "keyword.operator.logical.scala"
756
+ },
757
+ {
758
+ "match": "(!=|==|<=|>=)",
759
+ "name": "keyword.operator.comparison.scala"
760
+ },
761
+ {
762
+ "match": "..",
763
+ "name": "keyword.operator.scala"
764
+ }
765
+ ]
766
+ }
767
+ },
768
+ "match": "((?:[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]|[\\\\]){2,}|_\\*)"
756
769
  },
757
770
  {
758
- "match": "(<-|←|->|→|=>|⇒|\\?|:+|@|\\|)+",
759
- "name": "keyword.operator.scala"
771
+ "captures": {
772
+ "1": {
773
+ "patterns": [
774
+ {
775
+ "match": "(!)",
776
+ "name": "keyword.operator.logical.scala"
777
+ },
778
+ {
779
+ "match": "(\\*|-|\\+|/|%|~)",
780
+ "name": "keyword.operator.arithmetic.scala"
781
+ },
782
+ {
783
+ "match": "(=|<|>)",
784
+ "name": "keyword.operator.comparison.scala"
785
+ },
786
+ {
787
+ "match": ".",
788
+ "name": "keyword.operator.scala"
789
+ }
790
+ ]
791
+ }
792
+ },
793
+ "match": "(?<!_)([!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]|\\\\)"
760
794
  }
761
795
  ]
762
796
  },
package/index.js CHANGED
@@ -1393,7 +1393,7 @@ export const grammars = [
1393
1393
  source: 'https://github.com/microsoft/vscode/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json',
1394
1394
  },
1395
1395
  {
1396
- byteSize: 4048,
1396
+ byteSize: 4047,
1397
1397
  categories: [
1398
1398
  'web',
1399
1399
  'utility',
@@ -1405,14 +1405,14 @@ export const grammars = [
1405
1405
  'xml',
1406
1406
  'graphql',
1407
1407
  ],
1408
- hash: 'ykvzg0eCo9',
1409
- lastUpdate: '2023-07-24T09:58:17Z',
1408
+ hash: '7yigCuv6bk',
1409
+ lastUpdate: '2024-10-10T11:38:26Z',
1410
1410
  license: 'MIT',
1411
1411
  licenseUrl: 'https://raw.githubusercontent.com/Huachao/vscode-restclient/master/LICENSE',
1412
1412
  name: 'http',
1413
1413
  scopeName: 'source.http',
1414
- sha: 'a89f8bce1b5e3d5bd955f10916b0c101e20431d3',
1415
- source: 'https://github.com/Huachao/vscode-restclient/blob/a89f8bce1b5e3d5bd955f10916b0c101e20431d3/syntaxes/http.tmLanguage.json',
1414
+ sha: '6649589e4d3f97d9c0d68a4f7ffe03fa2919c4df',
1415
+ source: 'https://github.com/Huachao/vscode-restclient/blob/6649589e4d3f97d9c0d68a4f7ffe03fa2919c4df/syntaxes/http.tmLanguage.json',
1416
1416
  },
1417
1417
  {
1418
1418
  byteSize: 1668,
@@ -2770,16 +2770,16 @@ export const grammars = [
2770
2770
  source: 'https://github.com/TheRealSyler/vscode-sass-indented/blob/7b0bd6bbbb768c0cf21b2aa0899cb872ee42fd50/syntaxes/sass.tmLanguage.json',
2771
2771
  },
2772
2772
  {
2773
- byteSize: 27305,
2773
+ byteSize: 27698,
2774
2774
  displayName: 'Scala',
2775
- hash: 'B5Q8HRtv4n',
2776
- lastUpdate: '2024-02-16T11:15:29Z',
2775
+ hash: 'TXBe2fD11I',
2776
+ lastUpdate: '2024-10-09T13:56:15Z',
2777
2777
  license: 'MIT',
2778
2778
  licenseUrl: 'https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md',
2779
2779
  name: 'scala',
2780
2780
  scopeName: 'source.scala',
2781
- sha: '1addd66a1bcb65510348ee6dddb5acfcf51f4fba',
2782
- source: 'https://github.com/scala/vscode-scala-syntax/blob/1addd66a1bcb65510348ee6dddb5acfcf51f4fba/syntaxes/Scala.tmLanguage.json',
2781
+ sha: 'd868753f29b0281fdf221785d3530d5066f5b77d',
2782
+ source: 'https://github.com/scala/vscode-scala-syntax/blob/d868753f29b0281fdf221785d3530d5066f5b77d/syntaxes/Scala.tmLanguage.json',
2783
2783
  },
2784
2784
  {
2785
2785
  byteSize: 8270,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.18.0",
4
+ "version": "1.18.2",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",