tm-grammars 1.5.1 → 1.5.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
@@ -31,7 +31,7 @@ import { grammars } from 'tm-grammars'
31
31
  | `applescript` | | [textmate/applescript.tmbundle](https://github.com/textmate/applescript.tmbundle/blob/4947cad7494eba084c21cfe04689b4efce96700f/Syntaxes/AppleScript.tmLanguage) | | | 28.73 kB |
32
32
  | `ara` | | [ara-lang/highlighting](https://github.com/ara-lang/highlighting/blob/ed1dbedcf03d0b67207e41fe2e11218cc925dc0d/syntaxes/ara.json) | [Apache-2.0](https://raw.githubusercontent.com/ara-lang/highlighting/main/LICENSE-APACHE) | | 6.82 kB |
33
33
  | `asm` | | [13xforever/x86_64-assembly-vscode](https://github.com/13xforever/x86_64-assembly-vscode/blob/15c07b12741ac75f5bb6e7701dc7c0d742add8dd/syntaxes/language-x86_64-assembly.tmLanguage) | [MIT](https://raw.githubusercontent.com/13xforever/x86_64-assembly-vscode/master/LICENSE.txt) | | 38.59 kB |
34
- | `astro` | | [withastro/language-tools](https://github.com/withastro/language-tools/blob/db49ff7cbeb2910ddac6ce0b15f3973b72827ccd/packages/vscode/syntaxes/astro.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE) | `json` `javascript` `typescript` `stylus` `sass` `css` `scss` `less` `postcss` `tsx` | 22.88 kB |
34
+ | `astro` | | [withastro/language-tools](https://github.com/withastro/language-tools/blob/cc0c86b73642c44f6df0fa5b1f5251bd224d5124/packages/vscode/syntaxes/astro.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE) | `json` `javascript` `typescript` `stylus` `sass` `css` `scss` `less` `postcss` `tsx` | 22.92 kB |
35
35
  | `awk` | | [luggage66/vscode-awk](https://github.com/luggage66/vscode-awk/blob/eff8c0f160ae16592c8d9963fd77046137fd2612/syntaxes/awk.tmLanguage) | [MIT](https://raw.githubusercontent.com/luggage66/vscode-awk/master/LICENSE.txt) | | 5.18 kB |
36
36
  | `ballerina` | | [ballerina-platform/ballerina-grammar](https://github.com/ballerina-platform/ballerina-grammar/blob/42ddcc1c63c86bdd6ba712e86bf965f5063831d3/syntaxes/ballerina.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/ballerina-platform/ballerina-grammar/master/LICENSE) | | 56.58 kB |
37
37
  | `bat` | `batch` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/df15c8e832a341633acd2e9bb26e1b275d09cfe0/extensions/bat/syntaxes/batchfile.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 12.38 kB |
@@ -177,6 +177,9 @@
177
177
  },
178
178
  {
179
179
  "include": "#frontmatter"
180
+ },
181
+ {
182
+ "include": "#text"
180
183
  }
181
184
  ],
182
185
  "repository": {
@@ -558,16 +561,6 @@
558
561
  },
559
562
  {
560
563
  "include": "#entities"
561
- },
562
- {
563
- "begin": "(?<=^|>|})",
564
- "end": "(?=<|{|$)",
565
- "name": "text.astro",
566
- "patterns": [
567
- {
568
- "include": "#entities"
569
- }
570
- ]
571
564
  }
572
565
  ]
573
566
  },
@@ -825,6 +818,20 @@
825
818
  "include": "#attributes"
826
819
  }
827
820
  ]
821
+ },
822
+ "text": {
823
+ "patterns": [
824
+ {
825
+ "begin": "(?<=^|---|>|})",
826
+ "end": "(?=<|{|$)",
827
+ "name": "text.astro",
828
+ "patterns": [
829
+ {
830
+ "include": "#entities"
831
+ }
832
+ ]
833
+ }
834
+ ]
828
835
  }
829
836
  },
830
837
  "scopeName": "source.astro"
package/index.js CHANGED
@@ -152,7 +152,7 @@ export const grammars = [
152
152
  source: 'https://github.com/13xforever/x86_64-assembly-vscode/blob/15c07b12741ac75f5bb6e7701dc7c0d742add8dd/syntaxes/language-x86_64-assembly.tmLanguage',
153
153
  },
154
154
  {
155
- byteSize: 23427,
155
+ byteSize: 23473,
156
156
  categories: [
157
157
  'web',
158
158
  ],
@@ -169,13 +169,13 @@ export const grammars = [
169
169
  'postcss',
170
170
  'tsx',
171
171
  ],
172
- lastUpdate: '2024-03-13T17:14:29Z',
172
+ lastUpdate: '2024-03-14T11:45:35Z',
173
173
  license: 'MIT',
174
174
  licenseUrl: 'https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE',
175
175
  name: 'astro',
176
176
  scopeName: 'source.astro',
177
- sha: 'db49ff7cbeb2910ddac6ce0b15f3973b72827ccd',
178
- source: 'https://github.com/withastro/language-tools/blob/db49ff7cbeb2910ddac6ce0b15f3973b72827ccd/packages/vscode/syntaxes/astro.tmLanguage.src.yaml',
177
+ sha: 'cc0c86b73642c44f6df0fa5b1f5251bd224d5124',
178
+ source: 'https://github.com/withastro/language-tools/blob/cc0c86b73642c44f6df0fa5b1f5251bd224d5124/packages/vscode/syntaxes/astro.tmLanguage.src.yaml',
179
179
  },
180
180
  {
181
181
  byteSize: 5303,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.5.1",
4
+ "version": "1.5.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>",