tm-grammars 1.21.7 → 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
@@ -82,7 +82,7 @@ import { grammars } from 'tm-grammars'
82
82
  | `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.70 kB |
83
83
  | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 23.97 kB |
84
84
  | `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | `gdshader` `gdscript` | 4.87 kB |
85
- | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/f648c37353587d0e6a875eaa69a131d7bcf0d512/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.88 kB |
85
+ | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/aee83dd2a40e0d58f50125efc228cdabc68ebbb9/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.61 kB |
86
86
  | `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 5.94 kB |
87
87
  | `genie` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/genie.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.11 kB |
88
88
  | `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | 12.13 kB |
@@ -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 |
@@ -51,7 +51,7 @@
51
51
  "name": "entity.name.function.decorator.gdscript"
52
52
  }
53
53
  },
54
- "match": "(@)(export|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_global_dir|export_global_file|export_multiline|export_node_path|export_placeholder|export_range|export_storage|icon|onready|rpc|tool|warning_ignore|abstract|static_unload)\\b"
54
+ "match": "(@)(export|export_group|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_global_dir|export_global_file|export_multiline|export_node_path|export_placeholder|export_range|export_storage|icon|onready|rpc|tool|warning_ignore|static_unload)\\b"
55
55
  },
56
56
  "any_method": {
57
57
  "match": "\\b([A-Za-z_]\\w*)\\b(?=\\s*(?:[(]))",
@@ -611,7 +611,7 @@
611
611
  ]
612
612
  },
613
613
  "keywords": {
614
- "match": "\\b(?:class|class_name|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",
614
+ "match": "\\b(?:class|class_name|abstract|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",
615
615
  "name": "keyword.language.gdscript"
616
616
  },
617
617
  "lambda_declaration": {
@@ -785,24 +785,15 @@
785
785
  "name": "constant.numeric.integer.hexadecimal.gdscript"
786
786
  },
787
787
  {
788
- "match": "[-]?(\\d[0-9_]+\\.[0-9_]*(e[\\-+]?[0-9_]+)?)",
788
+ "match": "\\.\\d[0-9_]*([eE][+-]?[0-9_]+)?",
789
789
  "name": "constant.numeric.float.gdscript"
790
790
  },
791
791
  {
792
- "match": "[-]?(\\.\\d[0-9_]*(e[\\-+]?[0-9_]+)?)",
792
+ "match": "(\\d[0-9_]*)?\\.[0-9_]*([eE][+-]?[0-9_]+)?",
793
793
  "name": "constant.numeric.float.gdscript"
794
794
  },
795
795
  {
796
- "match": "[-]?(\\d[0-9_]*e[\\-+]?\\[0-9_])",
797
- "name": "constant.numeric.float.gdscript"
798
- },
799
- {
800
- "captures": {
801
- "1": {
802
- "name": "storage.type.imaginary.number.gdscript"
803
- }
804
- },
805
- "match": "(?<!\\w)(?:(?:\\.\\d(?:_?\\d)*|\\d(?:_?\\d)*\\.\\d(?:_?\\d)*|\\d(?:_?\\d)*\\.)(?:[eE][+-]?\\d(?:_?\\d)*)?|\\d(?:_?\\d)*(?:[eE][+-]?\\d(?:_?\\d)*))([jJ])?\\b",
796
+ "match": "\\d[0-9_]*[eE][+-]?[0-9_]+",
806
797
  "name": "constant.numeric.float.gdscript"
807
798
  },
808
799
  {
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
@@ -1035,16 +1035,16 @@ export const grammars = [
1035
1035
  source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
1036
1036
  },
1037
1037
  {
1038
- byteSize: 18306,
1038
+ byteSize: 18029,
1039
1039
  displayName: 'GDScript',
1040
- hash: 'BJIZ04ZDtC',
1041
- lastUpdate: '2024-11-18T16:16:16Z',
1040
+ hash: 'erOZtbL3ip',
1041
+ lastUpdate: '2024-12-18T15:45:05Z',
1042
1042
  license: 'MIT',
1043
1043
  licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
1044
1044
  name: 'gdscript',
1045
1045
  scopeName: 'source.gdscript',
1046
- sha: 'f648c37353587d0e6a875eaa69a131d7bcf0d512',
1047
- source: 'https://github.com/godotengine/godot-vscode-plugin/blob/f648c37353587d0e6a875eaa69a131d7bcf0d512/syntaxes/GDScript.tmLanguage.json',
1046
+ sha: 'aee83dd2a40e0d58f50125efc228cdabc68ebbb9',
1047
+ source: 'https://github.com/godotengine/godot-vscode-plugin/blob/aee83dd2a40e0d58f50125efc228cdabc68ebbb9/syntaxes/GDScript.tmLanguage.json',
1048
1048
  },
1049
1049
  {
1050
1050
  byteSize: 6082,
@@ -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.7",
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",