tm-grammars 1.12.9 → 1.12.11

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
@@ -204,7 +204,7 @@ import { grammars } from 'tm-grammars'
204
204
  | `turtle` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/3f1364b08bdbf4b4d77f123682db7d2b708b2f6e/stardog-rdf-grammars/syntaxes/turtle.tmLanguage.json) | | | 3.50 kB |
205
205
  | `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/82ae07ffe96656181ad8265c1fff008c8d1cdbba/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | `css` `javascript` `scss` `php` `python` `ruby` | 20.64 kB |
206
206
  | `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 177.10 kB |
207
- | `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/7ec17161b78117737660506b424b8a133e477cfc/grammars/typespec.json) | [MIT](https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE) | | 26.16 kB |
207
+ | `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/7912e8c9c7fff5c727608830d4ccb98ca86a2369/grammars/typespec.json) | [MIT](https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE) | | 26.17 kB |
208
208
  | `typst` | `typ` | [nvarner/typst-lsp](https://github.com/nvarner/typst-lsp/blob/6972d4b9c2cbcb0551e203067f09ec84ca8f9df3/editors/vscode/typst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nvarner/typst-lsp/master/LICENSE-MIT.txt) | | 7.98 kB |
209
209
  | `v` | | [vlang/vscode-vlang](https://github.com/vlang/vscode-vlang/blob/b1f529602bc6536ad8967373302e151e77179598/syntaxes/v.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE) | | 12.76 kB |
210
210
  | `vala` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/vala.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.14 kB |
@@ -212,7 +212,7 @@ import { grammars } from 'tm-grammars'
212
212
  | `verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/5963f70745bac638a96431176d39c688b35e8b59/syntaxes/verilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 5.55 kB |
213
213
  | `vhdl` | | [jonasjj/awesome-vhdl](https://github.com/jonasjj/awesome-vhdl/blob/0d0a052da44f64382314ba90a321a83022e5c11a/syntaxes/vhdl.tmLanguage) | [MIT](https://raw.githubusercontent.com/jonasjj/awesome-vhdl/master/LICENSE.txt) | | 23.66 kB |
214
214
  | `viml` | `vim` `vimscript` | [dunstontc/viml](https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dunstontc/viml/master/LICENSE) | | 20.19 kB |
215
- | `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/ff2788d4084895a2c4cfa526668dc642e86de6fd/extensions/vscode/syntaxes/vue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | `html` `markdown` `pug` `stylus` `sass` `css` `scss` `less` `javascript` `typescript` `jsx` `tsx` `coffee` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 16.81 kB |
215
+ | `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/07f1f1d5a64e780b6dd768012102225e1b35f68c/extensions/vscode/syntaxes/vue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | `html` `markdown` `pug` `stylus` `sass` `css` `scss` `less` `javascript` `typescript` `jsx` `tsx` `coffee` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 16.98 kB |
216
216
  | `vue-html` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/53ee52746b1f26f44391c3764bc7bd06d4ddaa46/syntaxes/vue-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | `vue` `javascript` | 8.06 kB |
217
217
  | `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/e8876a573f1e6b5b11d6176538a5c342d39af0f8/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 96.99 kB |
218
218
  | `wasm` | | [wasmerio/vscode-wasm](https://github.com/wasmerio/vscode-wasm/blob/9d0ace1ff113f4a3e95797675039cd94ec257078/syntaxes/wat.json) | [MIT](https://raw.githubusercontent.com/wasmerio/vscode-wasm/master/LICENSE) | | 15.03 kB |
@@ -237,7 +237,7 @@
237
237
  "name": "variable.name.tsp"
238
238
  }
239
239
  },
240
- "match": "(?x)((@)(?:param|template))\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)\\b",
240
+ "match": "(?x)((@)(?:param|template|prop))\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)\\b",
241
241
  "name": "comment.block.tsp"
242
242
  },
243
243
  "doc-comment-return-tag": {
package/grammars/vue.json CHANGED
@@ -1106,37 +1106,42 @@
1106
1106
  ]
1107
1107
  },
1108
1108
  "vue-directives-original": {
1109
- "begin": "(?:\\b(v-)|([:\\.])|(@)|(#))(\\[?)([\\w\\-]*)(\\]?)(?:\\.([\\w\\-]*))*",
1109
+ "begin": "(?:(?:(v-[\\w-]+)(:)?)|([:\\.])|(@)|(#))(?:(?:(\\[)([^\\]]*)(\\]))|([\\w-]+))?",
1110
1110
  "beginCaptures": {
1111
1111
  "1": {
1112
1112
  "name": "entity.other.attribute-name.html.vue"
1113
1113
  },
1114
1114
  "2": {
1115
- "name": "punctuation.attribute-shorthand.bind.html.vue"
1115
+ "name": "punctuation.separator.key-value.html.vue"
1116
1116
  },
1117
1117
  "3": {
1118
- "name": "punctuation.attribute-shorthand.event.html.vue"
1118
+ "name": "punctuation.attribute-shorthand.bind.html.vue"
1119
1119
  },
1120
1120
  "4": {
1121
- "name": "punctuation.attribute-shorthand.slot.html.vue"
1121
+ "name": "punctuation.attribute-shorthand.event.html.vue"
1122
1122
  },
1123
1123
  "5": {
1124
- "name": "punctuation.separator.key-value.html.vue"
1124
+ "name": "punctuation.attribute-shorthand.slot.html.vue"
1125
1125
  },
1126
1126
  "6": {
1127
- "name": "entity.other.attribute-name.html.vue"
1127
+ "name": "punctuation.separator.key-value.html.vue"
1128
1128
  },
1129
1129
  "7": {
1130
- "name": "punctuation.separator.key-value.html.vue"
1130
+ "name": "source.ts.embedded.html.vue",
1131
+ "patterns": [
1132
+ {
1133
+ "include": "source.ts#expression"
1134
+ }
1135
+ ]
1131
1136
  },
1132
1137
  "8": {
1133
- "name": "entity.other.attribute-name.html.vue"
1138
+ "name": "punctuation.separator.key-value.html.vue"
1134
1139
  },
1135
1140
  "9": {
1136
- "name": "punctuation.separator.key-value.html.vue"
1141
+ "name": "entity.other.attribute-name.html.vue"
1137
1142
  }
1138
1143
  },
1139
- "end": "(?=\\s*+[^=\\s])",
1144
+ "end": "(?=\\s*[^=\\s])",
1140
1145
  "endCaptures": {
1141
1146
  "1": {
1142
1147
  "name": "punctuation.definition.string.end.html.vue"
@@ -1144,6 +1149,15 @@
1144
1149
  },
1145
1150
  "name": "meta.attribute.directive.vue",
1146
1151
  "patterns": [
1152
+ {
1153
+ "1": {
1154
+ "name": "punctuation.separator.key-value.html.vue"
1155
+ },
1156
+ "2": {
1157
+ "name": "entity.other.attribute-name.html.vue"
1158
+ },
1159
+ "match": "(\\.)([\\w-]*)"
1160
+ },
1147
1161
  {
1148
1162
  "include": "#vue-directives-expression"
1149
1163
  }
package/index.js CHANGED
@@ -2948,15 +2948,15 @@ export const grammars = [
2948
2948
  aliases: [
2949
2949
  'tsp',
2950
2950
  ],
2951
- byteSize: 26790,
2951
+ byteSize: 26795,
2952
2952
  displayName: 'TypeSpec',
2953
- lastUpdate: '2024-05-08T20:06:28Z',
2953
+ lastUpdate: '2024-06-11T19:22:43Z',
2954
2954
  license: 'MIT',
2955
2955
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE',
2956
2956
  name: 'typespec',
2957
2957
  scopeName: 'source.tsp',
2958
- sha: '7ec17161b78117737660506b424b8a133e477cfc',
2959
- source: 'https://github.com/microsoft/typespec/blob/7ec17161b78117737660506b424b8a133e477cfc/grammars/typespec.json',
2958
+ sha: '7912e8c9c7fff5c727608830d4ccb98ca86a2369',
2959
+ source: 'https://github.com/microsoft/typespec/blob/7912e8c9c7fff5c727608830d4ccb98ca86a2369/grammars/typespec.json',
2960
2960
  },
2961
2961
  {
2962
2962
  aliases: [
@@ -3050,7 +3050,7 @@ export const grammars = [
3050
3050
  source: 'https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json',
3051
3051
  },
3052
3052
  {
3053
- byteSize: 17211,
3053
+ byteSize: 17392,
3054
3054
  categories: [
3055
3055
  'web',
3056
3056
  ],
@@ -3081,13 +3081,13 @@ export const grammars = [
3081
3081
  'vue-interpolations',
3082
3082
  'vue-sfc-style-variable-injection',
3083
3083
  ],
3084
- lastUpdate: '2024-05-23T21:19:27Z',
3084
+ lastUpdate: '2024-06-21T11:14:31Z',
3085
3085
  license: 'MIT',
3086
3086
  licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
3087
3087
  name: 'vue',
3088
3088
  scopeName: 'source.vue',
3089
- sha: 'ff2788d4084895a2c4cfa526668dc642e86de6fd',
3090
- source: 'https://github.com/vuejs/language-tools/blob/ff2788d4084895a2c4cfa526668dc642e86de6fd/extensions/vscode/syntaxes/vue.tmLanguage.json',
3089
+ sha: '07f1f1d5a64e780b6dd768012102225e1b35f68c',
3090
+ source: 'https://github.com/vuejs/language-tools/blob/07f1f1d5a64e780b6dd768012102225e1b35f68c/extensions/vscode/syntaxes/vue.tmLanguage.json',
3091
3091
  },
3092
3092
  {
3093
3093
  byteSize: 8255,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.12.9",
4
+ "version": "1.12.11",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",