tm-grammars 1.24.24 → 1.24.25

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
@@ -210,7 +210,7 @@ import { grammars } from 'tm-grammars'
210
210
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | | 4.12 kB |
211
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
- | `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 |
213
+ | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0af4f80b051adfb7a46f3bb9499bcc1aa4ba0665/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `r` | 9.10 kB |
214
214
  | `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | | 5.98 kB |
215
215
  | `ts-tags` | `lit` | - | | | `typescript` `es-tag-css` `es-tag-glsl` `es-tag-html` `es-tag-sql` `es-tag-xml` | 121.00 B |
216
216
  | `tsv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | | 633.00 B |
package/grammars/tex.json CHANGED
@@ -25,6 +25,9 @@
25
25
  "match": "\\\\\\\\",
26
26
  "name": "keyword.control.newline.tex"
27
27
  },
28
+ {
29
+ "include": "#ifnextchar"
30
+ },
28
31
  {
29
32
  "include": "#macro-general"
30
33
  }
@@ -170,6 +173,10 @@
170
173
  }
171
174
  ]
172
175
  },
176
+ "ifnextchar": {
177
+ "match": "\\\\@ifnextchar[(\\[{]",
178
+ "name": "keyword.control.ifnextchar.tex"
179
+ },
173
180
  "macro-control": {
174
181
  "captures": {
175
182
  "1": {
package/index.js CHANGED
@@ -3972,7 +3972,7 @@ export const grammars = [
3972
3972
  sourceApi: 'https://api.github.com/repos/hashicorp/syntax/contents/syntaxes/terraform.tmGrammar.json?ref=cc2b4d4fe389f14b8a13937f4e0d7b2811b57588',
3973
3973
  },
3974
3974
  {
3975
- byteSize: 9207,
3975
+ byteSize: 9321,
3976
3976
  categories: [
3977
3977
  'markup',
3978
3978
  ],
@@ -3982,15 +3982,15 @@ export const grammars = [
3982
3982
  ],
3983
3983
  funding: [
3984
3984
  ],
3985
- hash: 'tWgGhkkaucczpz1PGBzsxX5y8hKhohRETirKICYFphY',
3986
- lastUpdate: '2025-07-08T10:59:18Z',
3985
+ hash: 'xtlPQvRkrCu-WJs-6-GnsVs2lTmEb5DuKe4uCxoM6Y8',
3986
+ lastUpdate: '2025-10-21T08:46:46Z',
3987
3987
  license: 'MIT',
3988
3988
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
3989
3989
  name: 'tex',
3990
3990
  scopeName: 'text.tex',
3991
- sha: 'f8bb386a48f799f890d00f217a90f615c9b3866c',
3992
- source: 'https://github.com/microsoft/vscode/blob/f8bb386a48f799f890d00f217a90f615c9b3866c/extensions/latex/syntaxes/TeX.tmLanguage.json',
3993
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/TeX.tmLanguage.json?ref=f8bb386a48f799f890d00f217a90f615c9b3866c',
3991
+ sha: '0af4f80b051adfb7a46f3bb9499bcc1aa4ba0665',
3992
+ source: 'https://github.com/microsoft/vscode/blob/0af4f80b051adfb7a46f3bb9499bcc1aa4ba0665/extensions/latex/syntaxes/TeX.tmLanguage.json',
3993
+ sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/latex/syntaxes/TeX.tmLanguage.json?ref=0af4f80b051adfb7a46f3bb9499bcc1aa4ba0665',
3994
3994
  },
3995
3995
  {
3996
3996
  byteSize: 6126,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.24.24",
4
+ "version": "1.24.25",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",