tm-grammars 1.7.1 → 1.7.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
@@ -181,7 +181,7 @@ import { grammars } from 'tm-grammars'
181
181
  | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/64d7b773adfb136b0f4b59e31d03eea7ada1d508/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 15.73 kB |
182
182
  | `swift` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b7fcbef3e2ebf668d428201c5c5d90a41346ada2/extensions/swift/syntaxes/swift.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 93.37 kB |
183
183
  | `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/8d7c8f5f3232f63d43830143afc034318832291e/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 24.60 kB |
184
- | `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/822b0d61bab1a7b58c6f8db3d5f21803dea7d665/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | `jinja` | 8.02 kB |
184
+ | `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/bb87cf9d8f7f9da36fbc5bf80683062b2558ed80/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | 7.44 kB |
185
185
  | `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.21 kB |
186
186
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.66 kB |
187
187
  | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.58 kB |
@@ -280,54 +280,6 @@
280
280
  }
281
281
  ]
282
282
  },
283
- "embeddedJinja": {
284
- "patterns": [
285
- {
286
- "begin": "({\\%)\\s*(raw)\\s*(%\\})",
287
- "captures": {
288
- "1": {
289
- "name": "entity.other.jinja.delimiter.tag"
290
- },
291
- "2": {
292
- "name": "keyword.control.jinja"
293
- },
294
- "3": {
295
- "name": "entity.other.jinja.delimiter.tag"
296
- }
297
- },
298
- "end": "(\\{%)\\s*(endraw)\\s*(%\\})",
299
- "name": "meta.scope.jinja.raw",
300
- "patterns": [
301
- {
302
- "include": "source.systemd"
303
- }
304
- ]
305
- },
306
- {
307
- "begin": "\\{\\{\\-?",
308
- "end": "-?\\}\\}",
309
- "name": "variable.meta.scope.jinja",
310
- "patterns": [
311
- {
312
- "include": "source.jinja#expression"
313
- }
314
- ]
315
- },
316
- {
317
- "begin": "\\{%\\-?",
318
- "end": "-?%\\}",
319
- "name": "meta.scope.jinja.tag",
320
- "patterns": [
321
- {
322
- "include": "source.jinja#expression"
323
- }
324
- ]
325
- },
326
- {
327
- "include": "source.jinja#comments"
328
- }
329
- ]
330
- },
331
283
  "executablePrefixes": {
332
284
  "patterns": [
333
285
  {
@@ -339,7 +291,7 @@
339
291
  "numbers": {
340
292
  "patterns": [
341
293
  {
342
- "match": "(?<=\\s|=)\\d+(?:\\.\\d+)?(?=\\s|$)",
294
+ "match": "(?<=\\s|=)\\d+(?:\\.\\d+)?(?=[\\s:]|$)",
343
295
  "name": "constant.numeric"
344
296
  }
345
297
  ]
@@ -393,11 +345,11 @@
393
345
  "sizes": {
394
346
  "patterns": [
395
347
  {
396
- "match": "(?<=\\s|=)\\d+(?:\\.\\d+)?[KMGT](?=\\s|$)",
348
+ "match": "(?<=\\s|=)\\d+(?:\\.\\d+)?[KMGT](?=[\\s:]|$)",
397
349
  "name": "constant.numeric"
398
350
  },
399
351
  {
400
- "match": "(?<==)infinity(?=\\s|$)",
352
+ "match": "(?<==)infinity(?=[\\s:]|$)",
401
353
  "name": "constant.numeric"
402
354
  }
403
355
  ]
package/index.js CHANGED
@@ -2572,21 +2572,18 @@ export const grammars = [
2572
2572
  source: 'https://github.com/mshr-h/vscode-verilog-hdl-support/blob/8d7c8f5f3232f63d43830143afc034318832291e/syntaxes/systemverilog.tmLanguage.json',
2573
2573
  },
2574
2574
  {
2575
- byteSize: 8209,
2575
+ byteSize: 7615,
2576
2576
  categories: [
2577
2577
  'config',
2578
2578
  ],
2579
2579
  displayName: 'Systemd Units',
2580
- embedded: [
2581
- 'jinja',
2582
- ],
2583
- lastUpdate: '2024-03-10T15:06:17Z',
2580
+ lastUpdate: '2024-04-28T22:16:59Z',
2584
2581
  license: 'MIT',
2585
2582
  licenseUrl: 'https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE',
2586
2583
  name: 'systemd',
2587
2584
  scopeName: 'source.systemd',
2588
- sha: '822b0d61bab1a7b58c6f8db3d5f21803dea7d665',
2589
- source: 'https://github.com/hangxingliu/vscode-systemd/blob/822b0d61bab1a7b58c6f8db3d5f21803dea7d665/src/syntax/systemd.tmLanguage',
2585
+ sha: 'bb87cf9d8f7f9da36fbc5bf80683062b2558ed80',
2586
+ source: 'https://github.com/hangxingliu/vscode-systemd/blob/bb87cf9d8f7f9da36fbc5bf80683062b2558ed80/src/syntax/systemd.tmLanguage',
2590
2587
  },
2591
2588
  {
2592
2589
  byteSize: 3282,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.7.1",
4
+ "version": "1.7.2",
5
5
  "packageManager": "pnpm@8.15.1",
6
6
  "description": "Collecton of TextMate grammars in JSON",
7
7
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",