tm-grammars 1.21.8 → 1.21.9

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
@@ -101,7 +101,7 @@ import { grammars } from 'tm-grammars'
101
101
  | `handlebars` | `hbs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45db52ba6bd211cecd03897caee0531350071721/extensions/handlebars/syntaxes/Handlebars.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `css` `javascript` `yaml` | 11.47 kB |
102
102
  | `haskell` | `hs` | [octref/language-haskell](https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json) | [BSD-3-Clause](https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE) | | 39.81 kB |
103
103
  | `haxe` | | [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/blob/ddad8b4c6d0781ac20be0481174ec1be772c5da5/haxe.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md) | | 33.49 kB |
104
- | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.19 kB |
104
+ | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/2ec7cd10c9d6134e836bf85eb0f5aa010512bff4/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.19 kB |
105
105
  | `hjson` | | [hjson/textmate-hjson](https://github.com/hjson/textmate-hjson/blob/196075169c9a9f9ab04c8e7423b67ea72c976237/Syntaxes/Hjson.tmLanguage) | [MIT](https://raw.githubusercontent.com/hjson/textmate-hjson/master/LICENSE) | | 11.53 kB |
106
106
  | `hlsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/efa12b2f49ec6ee84ed1e7bbd948808efec452f6/extensions/hlsl/syntaxes/hlsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 7.09 kB |
107
107
  | `html` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45324363153075dab0482312ae24d8c068d81e4f/extensions/html/syntaxes/html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` | 56.55 kB |
@@ -224,7 +224,7 @@ import { grammars } from 'tm-grammars'
224
224
  | `verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/26cc4a3ec01b12aea5b8ffb7edeee3373eb71d77/syntaxes/verilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 5.56 kB |
225
225
  | `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) | | 22.36 kB |
226
226
  | `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.16 kB |
227
- | `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/05a802061e9fd2e76396f28ed1504872787f43a0/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.96 kB |
227
+ | `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/5f11c44dce3f49e2c5f0dae1f93d892164a1980e/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` | 17.44 kB |
228
228
  | `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 |
229
229
  | `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/3df08ea46fc7df1a5e7f35365e615624849d1c1b/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 74.01 kB |
230
230
  | `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.02 kB |
package/grammars/hcl.json CHANGED
@@ -80,7 +80,7 @@
80
80
  }
81
81
  },
82
82
  "block": {
83
- "begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]*([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
83
+ "begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]+([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
84
84
  "beginCaptures": {
85
85
  "1": {
86
86
  "patterns": [
package/grammars/vue.json CHANGED
@@ -2,6 +2,9 @@
2
2
  "displayName": "Vue",
3
3
  "name": "vue",
4
4
  "patterns": [
5
+ {
6
+ "include": "#vue-comments"
7
+ },
5
8
  {
6
9
  "include": "text.html.basic#comment"
7
10
  },
@@ -967,6 +970,39 @@
967
970
  }
968
971
  ]
969
972
  },
973
+ "vue-comments": {
974
+ "patterns": [
975
+ {
976
+ "include": "#vue-comments-key-value"
977
+ }
978
+ ]
979
+ },
980
+ "vue-comments-key-value": {
981
+ "begin": "(<!--)\\s*(@)([\\w$]+)(?=\\s)",
982
+ "beginCaptures": {
983
+ "1": {
984
+ "name": "punctuation.definition.comment.vue"
985
+ },
986
+ "2": {
987
+ "name": "punctuation.definition.block.tag.comment.vue"
988
+ },
989
+ "3": {
990
+ "name": "storage.type.class.comment.vue"
991
+ }
992
+ },
993
+ "end": "(-->)",
994
+ "endCaptures": {
995
+ "1": {
996
+ "name": "punctuation.definition.comment.vue"
997
+ }
998
+ },
999
+ "name": "comment.block.vue",
1000
+ "patterns": [
1001
+ {
1002
+ "include": "source.json#value"
1003
+ }
1004
+ ]
1005
+ },
970
1006
  "vue-directives": {
971
1007
  "patterns": [
972
1008
  {
package/index.js CHANGED
@@ -1354,14 +1354,14 @@ export const grammars = [
1354
1354
  {
1355
1355
  byteSize: 11454,
1356
1356
  displayName: 'HashiCorp HCL',
1357
- hash: 'Uhq2GRBBdy',
1358
- lastUpdate: '2024-09-17T14:22:47Z',
1357
+ hash: 'GpQf5BLQtX',
1358
+ lastUpdate: '2024-12-20T01:03:46Z',
1359
1359
  license: 'MPL-2.0',
1360
1360
  licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
1361
1361
  name: 'hcl',
1362
1362
  scopeName: 'source.hcl',
1363
- sha: 'cc2b4d4fe389f14b8a13937f4e0d7b2811b57588',
1364
- source: 'https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/hcl.tmGrammar.json',
1363
+ sha: '2ec7cd10c9d6134e836bf85eb0f5aa010512bff4',
1364
+ source: 'https://github.com/hashicorp/syntax/blob/2ec7cd10c9d6134e836bf85eb0f5aa010512bff4/syntaxes/hcl.tmGrammar.json',
1365
1365
  },
1366
1366
  {
1367
1367
  byteSize: 11808,
@@ -3458,7 +3458,7 @@ export const grammars = [
3458
3458
  source: 'https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json',
3459
3459
  },
3460
3460
  {
3461
- byteSize: 17370,
3461
+ byteSize: 17859,
3462
3462
  categories: [
3463
3463
  'web',
3464
3464
  ],
@@ -3489,14 +3489,14 @@ export const grammars = [
3489
3489
  'vue-interpolations',
3490
3490
  'vue-sfc-style-variable-injection',
3491
3491
  ],
3492
- hash: 'ec62ydHUBN',
3493
- lastUpdate: '2024-08-31T12:58:50Z',
3492
+ hash: 'jHCVczJ3x8',
3493
+ lastUpdate: '2024-12-20T20:08:46Z',
3494
3494
  license: 'MIT',
3495
3495
  licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
3496
3496
  name: 'vue',
3497
3497
  scopeName: 'source.vue',
3498
- sha: '05a802061e9fd2e76396f28ed1504872787f43a0',
3499
- source: 'https://github.com/vuejs/language-tools/blob/05a802061e9fd2e76396f28ed1504872787f43a0/extensions/vscode/syntaxes/vue.tmLanguage.json',
3498
+ sha: '5f11c44dce3f49e2c5f0dae1f93d892164a1980e',
3499
+ source: 'https://github.com/vuejs/language-tools/blob/5f11c44dce3f49e2c5f0dae1f93d892164a1980e/extensions/vscode/syntaxes/vue.tmLanguage.json',
3500
3500
  },
3501
3501
  {
3502
3502
  byteSize: 8251,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.21.8",
4
+ "version": "1.21.9",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",