tm-grammars 1.19.3 → 1.19.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 +1 -1
- package/grammars/gdscript.json +13 -11
- package/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ import { grammars } from 'tm-grammars'
|
|
|
81
81
|
| `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 |
|
|
82
82
|
| `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 |
|
|
83
83
|
| `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 |
|
|
84
|
-
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
84
|
+
| `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
85
|
| `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 |
|
|
86
86
|
| `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 |
|
|
87
87
|
| `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 |
|
package/grammars/gdscript.json
CHANGED
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
]
|
|
254
254
|
},
|
|
255
255
|
"builtin_get_node_shorthand_quoted": {
|
|
256
|
-
"begin": "(?:(
|
|
256
|
+
"begin": "(?:(\\$|%)|(&|\\^|@))(\"|')",
|
|
257
257
|
"beginCaptures": {
|
|
258
258
|
"1": {
|
|
259
259
|
"name": "keyword.control.flow.gdscript"
|
|
@@ -513,17 +513,10 @@
|
|
|
513
513
|
"name": "entity.name.function.gdscript"
|
|
514
514
|
}
|
|
515
515
|
},
|
|
516
|
-
"end": "(
|
|
517
|
-
"
|
|
518
|
-
"endCaptures2": {
|
|
516
|
+
"end": "(:)",
|
|
517
|
+
"endCaptures": {
|
|
519
518
|
"1": {
|
|
520
|
-
"name": "punctuation.
|
|
521
|
-
},
|
|
522
|
-
"2": {
|
|
523
|
-
"name": "keyword.language.void.gdscript"
|
|
524
|
-
},
|
|
525
|
-
"3": {
|
|
526
|
-
"name": "entity.name.type.class.gdscript markup.italic"
|
|
519
|
+
"name": "punctuation.section.function.begin.gdscript"
|
|
527
520
|
}
|
|
528
521
|
},
|
|
529
522
|
"name": "meta.function.gdscript",
|
|
@@ -803,6 +796,15 @@
|
|
|
803
796
|
"match": "[-]?(\\d[0-9_]*e[\\-+]?\\[0-9_])",
|
|
804
797
|
"name": "constant.numeric.float.gdscript"
|
|
805
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",
|
|
806
|
+
"name": "constant.numeric.float.gdscript"
|
|
807
|
+
},
|
|
806
808
|
{
|
|
807
809
|
"match": "[-]?\\d[0-9_]*",
|
|
808
810
|
"name": "constant.numeric.integer.gdscript"
|
package/index.js
CHANGED
|
@@ -1010,16 +1010,16 @@ export const grammars = [
|
|
|
1010
1010
|
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
|
-
byteSize:
|
|
1013
|
+
byteSize: 18306,
|
|
1014
1014
|
displayName: 'GDScript',
|
|
1015
|
-
hash: '
|
|
1016
|
-
lastUpdate: '2024-
|
|
1015
|
+
hash: 'BJIZ04ZDtC',
|
|
1016
|
+
lastUpdate: '2024-11-18T16:16:16Z',
|
|
1017
1017
|
license: 'MIT',
|
|
1018
1018
|
licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
|
|
1019
1019
|
name: 'gdscript',
|
|
1020
1020
|
scopeName: 'source.gdscript',
|
|
1021
|
-
sha: '
|
|
1022
|
-
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
1021
|
+
sha: 'f648c37353587d0e6a875eaa69a131d7bcf0d512',
|
|
1022
|
+
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/f648c37353587d0e6a875eaa69a131d7bcf0d512/syntaxes/GDScript.tmLanguage.json',
|
|
1023
1023
|
},
|
|
1024
1024
|
{
|
|
1025
1025
|
byteSize: 6082,
|