tm-grammars 1.13.2 → 1.13.4

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
@@ -78,7 +78,7 @@ import { grammars } from 'tm-grammars'
78
78
  | `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.92 kB |
79
79
  | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 24.25 kB |
80
80
  | `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.90 kB |
81
- | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/cca25099c4a154137de962a60dcf2fba74c6cc31/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 18.01 kB |
81
+ | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/9750f8dfc6e4eeba96f7df62432751930af95337/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.83 kB |
82
82
  | `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.95 kB |
83
83
  | `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.12 kB |
84
84
  | `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 |
@@ -217,7 +217,7 @@ import { grammars } from 'tm-grammars'
217
217
  | `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 |
218
218
  | `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 |
219
219
  | `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 |
220
- | `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 |
220
+ | `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) | | 79.27 kB |
221
221
  | `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 |
222
222
  | `wenyan` | `文言` | [wenyan-lang/highlight](https://github.com/wenyan-lang/highlight/blob/5100e8a803978b4f5b009adac035d1f27f591760/wenyan.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/wenyan-lang/highlight/master/LICENSE) | | 2.07 kB |
223
223
  | `wgsl` | | [PolyMeilex/vscode-wgsl](https://github.com/PolyMeilex/vscode-wgsl/blob/04222c48533ca541d6dc97043ea096471517e079/syntaxes/wgsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/PolyMeilex/vscode-wgsl/master/LICENSE) | | 6.12 kB |
@@ -225,9 +225,9 @@ import { grammars } from 'tm-grammars'
225
225
  | `wolfram` | `wl` | [WolframResearch/vscode-wolfram](https://github.com/WolframResearch/vscode-wolfram/blob/8b55fb1724d971a303120b3f5b981d654c308c59/syntaxes/wolfram.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/WolframResearch/vscode-wolfram/master/LICENSE) | | 260.39 kB |
226
226
  | `xml` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/10a1d2a50a2882f5ae85bdb51eb04d3064fb9de9/extensions/xml/syntaxes/xml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `java` | 5.11 kB |
227
227
  | `xsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/xml/syntaxes/xsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `xml` | 1.20 kB |
228
- | `yaml` | `yml` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/772aaf777a2e6b50c5c2e53da1a0955d2cb73a4d/extensions/yaml/syntaxes/yaml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.58 kB |
228
+ | `yaml` | `yml` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9255a27d883c812feae2473d7af428267c875030/extensions/yaml/syntaxes/yaml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 371.00 B |
229
229
  | `zenscript` | | [CraftTweaker/ZenScript-tmLanguage](https://github.com/CraftTweaker/ZenScript-tmLanguage/blob/5a7bcb775a6fb37470e56f904e70d8b8b9e6b047/zenscript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/CraftTweaker/ZenScript-tmLanguage/master/LICENSE) | | 4.08 kB |
230
- | `zig` | | [ziglang/vscode-zig](https://github.com/ziglang/vscode-zig/blob/8ba9f01e5d7fdce08704ea8b5cbe9efed4afb4ef/syntaxes/zig.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/ziglang/vscode-zig/master/LICENSE) | | 5.06 kB |
230
+ | `zig` | | [ziglang/vscode-zig](https://github.com/ziglang/vscode-zig/blob/4874aafc7cc3e59ffc155d34eb98c81c0ca4ffcd/syntaxes/zig.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/ziglang/vscode-zig/master/LICENSE) | | 5.06 kB |
231
231
 
232
232
  ## Injections
233
233
 
@@ -237,7 +237,7 @@ Injections are grammars that are embedded in other grammars. They are used to ag
237
237
  | ---- | ----- | ------ | ------- | ------- | --------- |
238
238
  | `angular-expression` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/d7dab52644375e64af3deaeac045cc75f5954414/syntaxes/expression.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | 12.69 kB |
239
239
  | `angular-inline-style` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/f0422f5f571f79a904510944452f06fb36beff22/syntaxes/inline-styles.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `scss` | 1.17 kB |
240
- | `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/c3f3172a70b1a2bfdca3bdee85df9271cb0895cf/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` | 956.00 B |
240
+ | `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/888875fef753416c464d1433f05caf8d53c9dd10/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` `angular-template-blocks` | 1.02 kB |
241
241
  | `angular-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/28739e438742bee69faceda5fd15445682451397/syntaxes/template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` | 471.00 B |
242
242
  | `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/dceedb686d45f19a65a50398be3dbce2526e7d11/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` `angular-template` | 1.18 kB |
243
243
  | `cpp-macro` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `regexp` `glsl` `sql` | 230.05 kB |
@@ -50,6 +50,15 @@
50
50
  },
51
51
  {
52
52
  "include": "template.ng"
53
+ },
54
+ {
55
+ "include": "template.blocks.ng"
56
+ },
57
+ {
58
+ "include": "template.tag.ng"
59
+ },
60
+ {
61
+ "include": "template.let.ng"
53
62
  }
54
63
  ]
55
64
  },
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "any_method": {
57
57
  "match": "\\b([A-Za-z_]\\w*)\\b(?=\\s*(?:[(]))",
58
- "name": "support.function.any-method.gdscript"
58
+ "name": "entity.name.function.other.gdscript"
59
59
  },
60
60
  "any_property": {
61
61
  "captures": {
@@ -479,12 +479,7 @@
479
479
  ]
480
480
  },
481
481
  "function_call": {
482
- "begin": "(?x)\n\\b(?=\n([a-zA-Z_]\\w*) \\s* (\\()\n)\n",
483
- "beginCaptures": {
484
- "2": {
485
- "name": "punctuation.definition.arguments.begin.gdscript"
486
- }
487
- },
482
+ "begin": "(?=\\b[a-zA-Z_]\\w*\\b\\()",
488
483
  "comment": "Regular function call of the type \"name(args)\"",
489
484
  "end": "(\\))",
490
485
  "endCaptures": {
@@ -543,10 +538,14 @@
543
538
  {
544
539
  "include": "#builtin_classes"
545
540
  },
541
+ {
542
+ "match": "\\b(preload)\\b",
543
+ "name": "keyword.language.gdscript"
544
+ },
546
545
  {
547
546
  "comment": "Some color schemas support meta.function-call.generic scope",
548
- "match": "(?x)\n\\b ([a-zA-Z_]\\w*) \\b\n",
549
- "name": "support.function.any-method.gdscript"
547
+ "match": "\\b([a-zA-Z_]\\w*)\\b",
548
+ "name": "entity.name.function.gdscript"
550
549
  }
551
550
  ]
552
551
  },
@@ -613,7 +612,7 @@
613
612
  ]
614
613
  },
615
614
  "keywords": {
616
- "match": "\\b(?:class|class_name|is|onready|tool|static|export|as|void|enum|preload|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",
615
+ "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",
617
616
  "name": "keyword.language.gdscript"
618
617
  },
619
618
  "lambda_declaration": {
@@ -1038,23 +1037,17 @@
1038
1037
  ]
1039
1038
  },
1040
1039
  "variable_declaration": {
1041
- "begin": "\\b(?:(var)|(const))\\s+(?:(\\b[A-Z_][A-Z_0-9]*\\b)|([A-Za-z_]\\w*))\\s*",
1040
+ "begin": "\\b(?:(var)|(const))\\b",
1042
1041
  "beginCaptures": {
1043
1042
  "1": {
1044
1043
  "name": "keyword.language.gdscript storage.type.var.gdscript"
1045
1044
  },
1046
1045
  "2": {
1047
1046
  "name": "keyword.language.gdscript storage.type.const.gdscript"
1048
- },
1049
- "3": {
1050
- "name": "constant.language.gdscript"
1051
- },
1052
- "4": {
1053
- "name": "variable.other.gdscript"
1054
1047
  }
1055
1048
  },
1056
1049
  "end": "$|;",
1057
- "name": "meta.variable.gdscript",
1050
+ "name": "meta.variable.declaration.gdscript",
1058
1051
  "patterns": [
1059
1052
  {
1060
1053
  "captures": {