tm-grammars 1.30.9 → 1.30.10

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
@@ -212,7 +212,7 @@ import { grammars } from 'tm-grammars'
212
212
  | `stata` | | [kylebarron/language-stata](https://github.com/kylebarron/language-stata/blob/dd98de502bc1bf2a205f3f023afb98c7aa5b42ee/grammars/stata.json) | [MIT](https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE) | | `sql` | 54.40 kB |
213
213
  | `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | [Open Collective: **stylus**](https://opencollective.com/stylus) | | 29.69 kB |
214
214
  | `surrealql` | `surql` | [surrealdb/surrealql-grammar](https://github.com/surrealdb/surrealql-grammar/blob/afb9c5362be1b291da3a6b7eb71902cc460759ed/syntaxes/surrealql.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/surrealdb/surrealql-grammar/main/LICENSE) | | `javascript` | 20.92 kB |
215
- | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/96e8ca884711bc5acaf1fda45ed7f95b38a75b4a/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | [Open Collective: **svelte**](https://opencollective.com/svelte) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 17.03 kB |
215
+ | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/32bd44e5af1eea464198cc6e841281b045e0f04d/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | [Open Collective: **svelte**](https://opencollective.com/svelte) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 17.21 kB |
216
216
  | `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/3fca2fa10f7dc962d19ee617b17844d6eecfa2cb/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 81.77 kB |
217
217
  | `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/a63b28cd8f15d9ec4861b2f802e8bf6ce4f6d2f2/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | [buymeacoffee.com](https://www.buymeacoffee.com/mshr.h) | | 24.20 kB |
218
218
  | `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/62ace1156b5afa0ec9932e3a55cfc00c0123c457/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | | 7.39 kB |
@@ -230,6 +230,9 @@
230
230
  "repository": {
231
231
  "attributes": {
232
232
  "patterns": [
233
+ {
234
+ "include": "#attributes-comments"
235
+ },
233
236
  {
234
237
  "include": "#attributes-directives"
235
238
  },
@@ -259,6 +262,19 @@
259
262
  }
260
263
  ]
261
264
  },
265
+ "attributes-comments": {
266
+ "patterns": [
267
+ {
268
+ "match": "//.*$",
269
+ "name": "comment.line.double-slash.svelte"
270
+ },
271
+ {
272
+ "begin": "/\\*",
273
+ "end": "\\*/",
274
+ "name": "comment.block.svelte"
275
+ }
276
+ ]
277
+ },
262
278
  "attributes-directives": {
263
279
  "begin": "(?<!<)(on|use|bind|transition|in|out|animate|let|class|style)(:)(?:((?:--)?[$_[:alpha:]][-$_[:alnum:]]*(?=\\s*=))|((?:--)?[$_[:alpha:]][-$_[:alnum:]]*))((\\|\\w+)*)",
264
280
  "beginCaptures": {
package/index.js CHANGED
@@ -4023,7 +4023,7 @@ export const grammars = [
4023
4023
  sourceApi: 'https://api.github.com/repos/surrealdb/surrealql-grammar/contents/syntaxes/surrealql.tmLanguage.json?ref=afb9c5362be1b291da3a6b7eb71902cc460759ed',
4024
4024
  },
4025
4025
  {
4026
- byteSize: 17434,
4026
+ byteSize: 17626,
4027
4027
  categories: [
4028
4028
  'web',
4029
4029
  ],
@@ -4048,15 +4048,15 @@ export const grammars = [
4048
4048
  url: 'https://opencollective.com/svelte',
4049
4049
  },
4050
4050
  ],
4051
- hash: 'a10k1mosWQ2VJcBN_7EJbn0KhnjHT-8YhyJtqKOeY38',
4052
- lastUpdate: '2025-12-20T05:48:15Z',
4051
+ hash: '-YTsNpoDnZ095A8rWesBfONWtrrdl1JQBEAk5miqegQ',
4052
+ lastUpdate: '2026-02-18T22:39:19Z',
4053
4053
  license: 'MIT',
4054
4054
  licenseUrl: 'https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE',
4055
4055
  name: 'svelte',
4056
4056
  scopeName: 'source.svelte',
4057
- sha: '96e8ca884711bc5acaf1fda45ed7f95b38a75b4a',
4058
- source: 'https://github.com/sveltejs/language-tools/blob/96e8ca884711bc5acaf1fda45ed7f95b38a75b4a/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml',
4059
- sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=96e8ca884711bc5acaf1fda45ed7f95b38a75b4a',
4057
+ sha: '32bd44e5af1eea464198cc6e841281b045e0f04d',
4058
+ source: 'https://github.com/sveltejs/language-tools/blob/32bd44e5af1eea464198cc6e841281b045e0f04d/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml',
4059
+ sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=32bd44e5af1eea464198cc6e841281b045e0f04d',
4060
4060
  },
4061
4061
  {
4062
4062
  byteSize: 83734,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.30.9",
4
+ "version": "1.30.10",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",