tm-grammars 1.21.7 → 1.21.8

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 |
@@ -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/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,
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.8",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",