tm-grammars 1.17.19 → 1.17.20

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
@@ -80,7 +80,7 @@ import { grammars } from 'tm-grammars'
80
80
  | `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 |
81
81
  | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 23.97 kB |
82
82
  | `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 |
83
- | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/bc89f274d5d53eb45c8d783939f252883bfcc678/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.58 kB |
83
+ | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/5b725b55fd91f751898b2fd2caa669eebd4c0003/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.72 kB |
84
84
  | `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 |
85
85
  | `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 |
86
86
  | `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 |
@@ -212,23 +212,29 @@
212
212
  },
213
213
  "3": {
214
214
  "name": "constant.character.escape.gdscript"
215
+ },
216
+ "4": {
217
+ "name": "constant.character.escape.gdscript"
215
218
  }
216
219
  },
217
- "match": "(?<!/\\s*)(\\$|%|\\$%)([a-zA-Z_]\\w*)\\b(?!\\s*/)",
218
- "name": "meta.literal.nodepath.gdscript"
220
+ "match": "(?<!/\\s*)(\\$\\s*|%|\\$%\\s*)(/\\s*)?([a-zA-Z_]\\w*)\\b(?!\\s*/)",
221
+ "name": "meta.literal.nodepath.bare.gdscript"
219
222
  },
220
223
  "builtin_get_node_shorthand_bare_multi": {
221
- "begin": "(\\$|%|\\$%)([a-zA-Z_]\\w*)",
224
+ "begin": "(\\$\\s*|%|\\$%\\s*)(/\\s*)?([a-zA-Z_]\\w*)",
222
225
  "beginCaptures": {
223
226
  "1": {
224
227
  "name": "keyword.control.flow.gdscript"
225
228
  },
226
229
  "2": {
227
230
  "name": "constant.character.escape.gdscript"
231
+ },
232
+ "3": {
233
+ "name": "constant.character.escape.gdscript"
228
234
  }
229
235
  },
230
236
  "end": "(?!\\s*/\\s*%?\\s*[a-zA-Z_]\\w*)",
231
- "name": "meta.literal.nodepath.gdscript",
237
+ "name": "meta.literal.nodepath.bare.gdscript",
232
238
  "patterns": [
233
239
  {
234
240
  "captures": {
package/index.js CHANGED
@@ -935,15 +935,15 @@ export const grammars = [
935
935
  source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
936
936
  },
937
937
  {
938
- byteSize: 18001,
938
+ byteSize: 18143,
939
939
  displayName: 'GDScript',
940
- lastUpdate: '2024-09-02T21:59:43Z',
940
+ lastUpdate: '2024-09-15T20:04:31Z',
941
941
  license: 'MIT',
942
942
  licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
943
943
  name: 'gdscript',
944
944
  scopeName: 'source.gdscript',
945
- sha: 'bc89f274d5d53eb45c8d783939f252883bfcc678',
946
- source: 'https://github.com/godotengine/godot-vscode-plugin/blob/bc89f274d5d53eb45c8d783939f252883bfcc678/syntaxes/GDScript.tmLanguage.json',
945
+ sha: '5b725b55fd91f751898b2fd2caa669eebd4c0003',
946
+ source: 'https://github.com/godotengine/godot-vscode-plugin/blob/5b725b55fd91f751898b2fd2caa669eebd4c0003/syntaxes/GDScript.tmLanguage.json',
947
947
  },
948
948
  {
949
949
  byteSize: 6082,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.17.19",
4
+ "version": "1.17.20",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",