tm-grammars 1.18.1 → 1.18.3

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 CHANGED
@@ -2056,7 +2056,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2056
2056
  SOFTWARE.
2057
2057
  =========================================================================================================
2058
2058
  Files: coq.json
2059
- License: https://raw.githubusercontent.com/coq-community/vscoq/main/LICENSE
2059
+ License: https://raw.githubusercontent.com/coq/vscoq/main/LICENSE
2060
2060
  SPDX: MIT
2061
2061
  ---------------------------------------------------------------------------------------------------------
2062
2062
  MIT License
package/README.md CHANGED
@@ -51,7 +51,7 @@ import { grammars } from 'tm-grammars'
51
51
  | `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/47fa163cb9fffce379458962eb391c9ef9082dcb/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 31.81 kB |
52
52
  | `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` | 26.04 kB |
53
53
  | `common-lisp` | `lisp` | [qingpeng9802/vscode-common-lisp](https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/qingpeng9802/vscode-common-lisp/master/LICENSE) | | 22.58 kB |
54
- | `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/ea0e57916a9c2c74397fbc68ef9392441f116bfe/client/syntax/coq.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/coq-community/vscoq/main/LICENSE) | | 5.51 kB |
54
+ | `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/a9feb827be2f8cc2bc3e5b47549d4cc06686c14a/client/syntax/coq.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/coq/vscoq/main/LICENSE) | | 5.51 kB |
55
55
  | `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp-macro` `regexp` `glsl` `sql` | 408.62 kB |
56
56
  | `crystal` | | [crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/c920b0931ec5f05b78447dbff31b172c64f1d734/syntaxes/crystal.json) | [MIT](https://raw.githubusercontent.com/crystal-lang-tools/vscode-crystal-lang/master/LICENSE) | `html` `sql` `css` `c` `javascript` `shellscript` | 31.42 kB |
57
57
  | `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 80.91 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/9a238a51aec6abdfa221e9b84e93122a8af965f8/syntaxes/Scala.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md) | | 26.73 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 |
package/grammars/coq.json CHANGED
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "comment": "Theorem declarations",
28
- "match": "(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition|Goal)\\s+((\\p{L}|[_\\u00A0])(\\p{L}|[0-9_\\u00A0'])*)"
28
+ "match": "\\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition|Goal)\\s+((\\p{L}|[_\\u00A0])(\\p{L}|[0-9_\\u00A0'])*)"
29
29
  },
30
30
  {
31
31
  "captures": {
@@ -88,7 +88,7 @@
88
88
  }
89
89
  },
90
90
  "comment": "Type declarations",
91
- "match": "(CoInductive|Inductive|Variant|Record|Structure|Class)\\s+(>\\s*)?((\\p{L}|[_\\u00A0])(\\p{L}|[0-9_\\u00A0'])*)"
91
+ "match": "\\b(CoInductive|Inductive|Variant|Record|Structure|Class)\\s+(>\\s*)?((\\p{L}|[_\\u00A0])(\\p{L}|[0-9_\\u00A0'])*)"
92
92
  },
93
93
  {
94
94
  "captures": {
@@ -100,7 +100,7 @@
100
100
  }
101
101
  },
102
102
  "comment": "Ltac declarations",
103
- "match": "(Ltac)\\s+((\\p{L}|[_\\u00A0])(\\p{L}|[0-9_\\u00A0'])*)"
103
+ "match": "\\b(Ltac)\\s+((\\p{L}|[_\\u00A0])(\\p{L}|[0-9_\\u00A0'])*)"
104
104
  },
105
105
  {
106
106
  "comment": "Vernacular keywords",
@@ -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
@@ -537,19 +537,19 @@ export const grammars = [
537
537
  source: 'https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json',
538
538
  },
539
539
  {
540
- byteSize: 5638,
540
+ byteSize: 5647,
541
541
  categories: [
542
542
  'general',
543
543
  ],
544
544
  displayName: 'Coq',
545
- hash: 'xsxHofNiyS',
546
- lastUpdate: '2024-05-19T17:37:43Z',
545
+ hash: 'fNyZ1SrG0J',
546
+ lastUpdate: '2024-10-16T17:53:48Z',
547
547
  license: 'MIT',
548
- licenseUrl: 'https://raw.githubusercontent.com/coq-community/vscoq/main/LICENSE',
548
+ licenseUrl: 'https://raw.githubusercontent.com/coq/vscoq/main/LICENSE',
549
549
  name: 'coq',
550
550
  scopeName: 'source.coq',
551
- sha: 'ea0e57916a9c2c74397fbc68ef9392441f116bfe',
552
- source: 'https://github.com/coq-community/vscoq/blob/ea0e57916a9c2c74397fbc68ef9392441f116bfe/client/syntax/coq.tmLanguage.json',
551
+ sha: 'a9feb827be2f8cc2bc3e5b47549d4cc06686c14a',
552
+ source: 'https://github.com/coq-community/vscoq/blob/a9feb827be2f8cc2bc3e5b47549d4cc06686c14a/client/syntax/coq.tmLanguage.json',
553
553
  },
554
554
  {
555
555
  aliases: [
@@ -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: 27376,
2773
+ byteSize: 27698,
2774
2774
  displayName: 'Scala',
2775
- hash: 'YOJ8W0TR8t',
2776
- lastUpdate: '2024-10-09T18:57:37Z',
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: '9a238a51aec6abdfa221e9b84e93122a8af965f8',
2782
- source: 'https://github.com/scala/vscode-scala-syntax/blob/9a238a51aec6abdfa221e9b84e93122a8af965f8/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.1",
4
+ "version": "1.18.3",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",