tm-grammars 1.24.1 → 1.24.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/README.md CHANGED
@@ -80,7 +80,7 @@ import { grammars } from 'tm-grammars'
80
80
  | `fluent` | `ftl` | [macabeus/vscode-fluent](https://github.com/macabeus/vscode-fluent/blob/8544ea296a7769a359f43ddff4dc4b6c61f5cf59/syntaxes/fluent.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/macabeus/vscode-fluent/master/LICENSE) | | | 3.38 kB |
81
81
  | `fortran-fixed-form` | `f` `for` `f77` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/e642012094fc0a7379f204bb4e61243005afb1da/syntaxes/fortran_fixed-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | `fortran-free-form` | 903.00 B |
82
82
  | `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | | 82.16 kB |
83
- | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `markdown` | 23.87 kB |
83
+ | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/731203bcde39d5f9788b66df093d6c9b24a2710e/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `markdown` | 23.87 kB |
84
84
  | `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | [fund.godotengine.org](https://fund.godotengine.org/) | `gdshader` `gdscript` | 4.72 kB |
85
85
  | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/45db62bfa312b820548ef7d12be18e8caf4214c1/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | [fund.godotengine.org](https://fund.godotengine.org/) | | 17.97 kB |
86
86
  | `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | [fund.godotengine.org](https://fund.godotengine.org/) | | 5.91 kB |
@@ -125,7 +125,7 @@ import { grammars } from 'tm-grammars'
125
125
  | `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8bb386a48f799f890d00f217a90f615c9b3866c/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `cpp` `python` `javascript` `r` `sql` | 28.25 kB |
126
126
  | `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/626e20d5c51a4379c4c0ee293aa89e58b5232aec/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | | 8.19 kB |
127
127
  | `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/2628495122cd3b0cc4b4c6ba6e0f6efd621ed9f6/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | | 14.28 kB |
128
- | `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 64.85 kB |
128
+ | `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/731203bcde39d5f9788b66df093d6c9b24a2710e/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 64.86 kB |
129
129
  | `lean` | `lean4` | [leanprover/vscode-lean4](https://github.com/leanprover/vscode-lean4/blob/b8fc2226dc1b76c29ddb63829a4d6adadadec9cd/vscode-lean4/syntaxes/lean4.json) | [Apache-2.0](https://raw.githubusercontent.com/leanprover/vscode-lean4/master/LICENSE) | | | 3.72 kB |
130
130
  | `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 92.58 kB |
131
131
  | `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/099adcf0d4beacd078a22432eaeab08d6f1e6da5/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | | `html` `css` `json` `javascript` | 16.94 kB |
@@ -208,7 +208,7 @@ import { grammars } from 'tm-grammars'
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 |
209
209
  | `tasl` | | [underlay/vscode-tasl](https://github.com/underlay/vscode-tasl/blob/dde4b7c0b762c2e667584095362dd49ebfacece7/syntaxes/tasl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE) | | | 3.10 kB |
210
210
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | | 4.12 kB |
211
- | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/257a6388f92d85bdbea3bc6b76e6b3f32d2aab3f/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | | `go` `javascript` `css` | 22.98 kB |
211
+ | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/d0af70c97ed384e93892c46b93d622ffaba5d93c/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | | `go` `javascript` `css` | 23.04 kB |
212
212
  | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | | 10.79 kB |
213
213
  | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8bb386a48f799f890d00f217a90f615c9b3866c/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `r` | 8.99 kB |
214
214
  | `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | | 5.98 kB |
@@ -248,15 +248,6 @@
248
248
  },
249
249
  "comments": {
250
250
  "patterns": [
251
- {
252
- "beginCaptures": {
253
- "1": {
254
- "name": "comment.block.fsharp"
255
- }
256
- },
257
- "match": "(\\(\\*{3}.*\\*{3}\\))",
258
- "name": "comment.literate.command.fsharp"
259
- },
260
251
  {
261
252
  "begin": "^\\s*(\\(\\*\\*(?!\\)))((?!\\*\\)).)*$",
262
253
  "beginCaptures": {
@@ -264,18 +255,18 @@
264
255
  "name": "comment.block.fsharp"
265
256
  }
266
257
  },
267
- "endCaptures": {
268
- "1": {
269
- "name": "comment.block.fsharp"
270
- }
271
- },
272
258
  "name": "comment.block.markdown.fsharp",
273
259
  "patterns": [
274
260
  {
275
261
  "include": "text.html.markdown"
276
262
  }
277
263
  ],
278
- "while": "^(?!\\s*(\\*)+\\)\\s*$)"
264
+ "while": "^(?!\\s*(\\*)+\\)\\s*$)",
265
+ "whileCaptures": {
266
+ "1": {
267
+ "name": "comment.block.fsharp"
268
+ }
269
+ }
279
270
  },
280
271
  {
281
272
  "begin": "(\\(\\*(?!\\)))",
@@ -447,9 +438,12 @@
447
438
  },
448
439
  "2": {
449
440
  "name": "entity.name.type.fsharp"
441
+ },
442
+ "4": {
443
+ "name": "entity.name.type.fsharp"
450
444
  }
451
445
  },
452
- "match": "(:)\\s*([ '.0-9?^_`[:alpha:]]+)"
446
+ "match": "(:)\\s*([ '.0-9?^_`[:alpha:]]+)(\\|\\s*(null))?"
453
447
  },
454
448
  {
455
449
  "captures": {
@@ -693,7 +687,7 @@
693
687
  "definition": {
694
688
  "patterns": [
695
689
  {
696
- "begin": "\\b(let mutable|static let mutable|static let|let inline|let|and|member val|member inline|static member inline|static member val|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[<.*>])?\\s*(private|internal|public)?\\s+(\\[[^-=]*]|[_[:alpha:]]([.0-9_[:alpha:]]+)*|``[_[:alpha:]]([.0-9_`[:alpha:]\\s]+|(?<=,)\\s)*)?",
690
+ "begin": "\\b(let mutable|static let mutable|static let|let inline|let|and inline|and|member val|member inline|static member inline|static member val|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[<.*>])?\\s*(private|internal|public)?\\s+(\\[[^-=]*]|[_[:alpha:]]([.0-9_[:alpha:]]+)*|``[_[:alpha:]]([.0-9_`[:alpha:]\\s]+|(?<=,)\\s)*)?",
697
691
  "beginCaptures": {
698
692
  "1": {
699
693
  "name": "keyword.fsharp"
@@ -711,7 +705,7 @@
711
705
  "name": "variable.fsharp"
712
706
  }
713
707
  },
714
- "end": "\\s*((with)\\b|(=|\\n+=|(?<==)))",
708
+ "end": "\\s*((with(?: inline|))\\b|(=|\\n+=|(?<==)))",
715
709
  "endCaptures": {
716
710
  "2": {
717
711
  "name": "keyword.fsharp"
@@ -1164,9 +1158,12 @@
1164
1158
  },
1165
1159
  "4": {
1166
1160
  "name": "entity.name.type.fsharp"
1161
+ },
1162
+ "7": {
1163
+ "name": "entity.name.type.fsharp"
1167
1164
  }
1168
1165
  },
1169
- "match": "(\\??)(['.0-9^_`[:alpha:]]+|``[ ',.0-:^_`[:alpha:]]+``)\\s*(:?)(\\s*([ '.0-9<>?_`[:alpha:]]+))?"
1166
+ "match": "(\\??)(['.0-9^_`[:alpha:]]+|``[ ',.0-:^_`[:alpha:]]+``)\\s*(:?)(\\s*([ '.0-9<>?_`[:alpha:]]+))?(\\|\\s*(null))?"
1170
1167
  },
1171
1168
  {
1172
1169
  "include": "#keywords"
@@ -2880,7 +2880,7 @@
2880
2880
  "name": "meta.function.end-document.latex"
2881
2881
  },
2882
2882
  {
2883
- "begin": "\\s*((\\\\)begin)(\\{)((?:\\+?array|equation|(?:IEEE)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|\\+?cases|(?:display)?math|\\+?[A-Za-z]*matrix|[BVbpv]?NiceMatrix|[BVbpv]?NiceArray|(?:arg)?m(?:ini|axi))[!*]?)(})(\\s*\\n)?",
2883
+ "begin": "\\s*((\\\\)begin)(\\{)((?:\\+?array|equation|(?:IEEE|sub)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|\\+?cases|(?:display)?math|\\+?[A-Za-z]*matrix|[BVbpv]?NiceMatrix|[BVbpv]?NiceArray|(?:arg)?m(?:ini|axi))[!*]?)(})(\\s*\\n)?",
2884
2884
  "captures": {
2885
2885
  "1": {
2886
2886
  "name": "support.function.be.latex"
@@ -402,7 +402,7 @@
402
402
  "name": "comment.block.html"
403
403
  },
404
404
  "html-template": {
405
- "begin": "^(templ) ((?:\\([A-z][0-9A-z]* \\*?[A-z][0-9A-z]*\\) )?[A-z][0-9A-z]*([(\\[]))",
405
+ "begin": "^(templ) ((?:\\((?:[A-Z_a-z][0-9A-Z_a-z]*\\s+\\*?[A-Z_a-z][0-9A-Z_a-z]*|\\*?[A-Z_a-z][0-9A-Z_a-z]*)\\)\\s*)?[A-Z_a-z][0-9A-Z_a-z]*([(\\[]))",
406
406
  "beginCaptures": {
407
407
  "1": {
408
408
  "name": "keyword.control.go"
package/index.js CHANGED
@@ -1234,7 +1234,7 @@ export const grammars = [
1234
1234
  'f#',
1235
1235
  'fs',
1236
1236
  ],
1237
- byteSize: 24440,
1237
+ byteSize: 24445,
1238
1238
  categories: [
1239
1239
  'general',
1240
1240
  ],
@@ -1244,15 +1244,15 @@ export const grammars = [
1244
1244
  ],
1245
1245
  funding: [
1246
1246
  ],
1247
- hash: 'vC35xKFiu851Z2Tg_ZmO4u7K-Dmd0a4zxrvo9IebCmI',
1248
- lastUpdate: '2024-09-27T08:27:11Z',
1247
+ hash: 'IdA1HONloBSmgPayQ9n6p6PrbnNP7TcBalYNwsSSw_c',
1248
+ lastUpdate: '2025-08-06T10:03:11Z',
1249
1249
  license: 'MIT',
1250
1250
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
1251
1251
  name: 'fsharp',
1252
1252
  scopeName: 'source.fsharp',
1253
- sha: 'e67b1982e1ab318288b8196ad503273dcb168049',
1254
- source: 'https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json',
1255
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/fsharp/syntaxes/fsharp.tmLanguage.json?ref=e67b1982e1ab318288b8196ad503273dcb168049',
1253
+ sha: '731203bcde39d5f9788b66df093d6c9b24a2710e',
1254
+ source: 'https://github.com/microsoft/vscode/blob/731203bcde39d5f9788b66df093d6c9b24a2710e/extensions/fsharp/syntaxes/fsharp.tmLanguage.json',
1255
+ sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/fsharp/syntaxes/fsharp.tmLanguage.json?ref=731203bcde39d5f9788b66df093d6c9b24a2710e',
1256
1256
  },
1257
1257
  {
1258
1258
  byteSize: 4831,
@@ -2148,7 +2148,7 @@ export const grammars = [
2148
2148
  sourceApi: 'https://api.github.com/repos/rosshamish/kuskus/contents/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json?ref=2628495122cd3b0cc4b4c6ba6e0f6efd621ed9f6',
2149
2149
  },
2150
2150
  {
2151
- byteSize: 66408,
2151
+ byteSize: 66412,
2152
2152
  categories: [
2153
2153
  'markup',
2154
2154
  ],
@@ -2174,15 +2174,15 @@ export const grammars = [
2174
2174
  ],
2175
2175
  funding: [
2176
2176
  ],
2177
- hash: 'cJfwTz1j1ZpDDS2kKqTfrGAnD46c-fX5UauLirBUYVY',
2178
- lastUpdate: '2025-05-02T13:29:24Z',
2177
+ hash: 'hYPhMgY3VDOLdMqOFpfOIviEWGpCsvy89XuNawkTL9g',
2178
+ lastUpdate: '2025-08-06T10:03:11Z',
2179
2179
  license: 'MIT',
2180
2180
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
2181
2181
  name: 'latex',
2182
2182
  scopeName: 'text.tex.latex',
2183
- sha: '0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4',
2184
- source: 'https://github.com/microsoft/vscode/blob/0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
2185
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/LaTeX.tmLanguage.json?ref=0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4',
2183
+ sha: '731203bcde39d5f9788b66df093d6c9b24a2710e',
2184
+ source: 'https://github.com/microsoft/vscode/blob/731203bcde39d5f9788b66df093d6c9b24a2710e/extensions/latex/syntaxes/LaTeX.tmLanguage.json',
2185
+ sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/LaTeX.tmLanguage.json?ref=731203bcde39d5f9788b66df093d6c9b24a2710e',
2186
2186
  },
2187
2187
  {
2188
2188
  aliases: [
@@ -3907,7 +3907,7 @@ export const grammars = [
3907
3907
  sourceApi: 'https://api.github.com/repos/sleutho/tcl/contents/syntaxes/tcl.tmLanguage?ref=f18820ad14678bc033f0a35524820c90fe50f18b',
3908
3908
  },
3909
3909
  {
3910
- byteSize: 23527,
3910
+ byteSize: 23588,
3911
3911
  displayName: 'Templ',
3912
3912
  embedded: [
3913
3913
  'go',
@@ -3916,15 +3916,15 @@ export const grammars = [
3916
3916
  ],
3917
3917
  funding: [
3918
3918
  ],
3919
- hash: 'AN7Y3py_iR7Fen9uHp6HAfw_qFcHoXM7KM18aVrswnA',
3920
- lastUpdate: '2025-04-08T08:46:52Z',
3919
+ hash: 'RQozWCZV8DFIVCyvBW0ISIYibu_sKvT1BHxEFzt675c',
3920
+ lastUpdate: '2025-08-11T13:54:58Z',
3921
3921
  license: 'MIT',
3922
3922
  licenseUrl: 'https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE',
3923
3923
  name: 'templ',
3924
3924
  scopeName: 'source.templ',
3925
- sha: '257a6388f92d85bdbea3bc6b76e6b3f32d2aab3f',
3926
- source: 'https://github.com/templ-go/templ-vscode/blob/257a6388f92d85bdbea3bc6b76e6b3f32d2aab3f/syntaxes/templ.tmLanguage.json',
3927
- sourceApi: 'https://api.github.com/repos/templ-go/templ-vscode/contents/syntaxes/templ.tmLanguage.json?ref=257a6388f92d85bdbea3bc6b76e6b3f32d2aab3f',
3925
+ sha: 'd0af70c97ed384e93892c46b93d622ffaba5d93c',
3926
+ source: 'https://github.com/templ-go/templ-vscode/blob/d0af70c97ed384e93892c46b93d622ffaba5d93c/syntaxes/templ.tmLanguage.json',
3927
+ sourceApi: 'https://api.github.com/repos/templ-go/templ-vscode/contents/syntaxes/templ.tmLanguage.json?ref=d0af70c97ed384e93892c46b93d622ffaba5d93c',
3928
3928
  },
3929
3929
  {
3930
3930
  aliases: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.24.1",
4
+ "version": "1.24.3",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",