tm-grammars 1.12.10 → 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
@@ -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 |
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
@@ -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.10",
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",