From 301b4f6a9c664cb3763545c18c930f44bcdb0b94 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 08:36:35 +0000 Subject: [PATCH] chore: Update Syntax Files --- README.md | 32 +++++----- plugin/syntaxes/prisma/prisma.tmLanguage.json | 59 +++++++++++++++++++ plugin/updater/updater-state.yaml | 20 +++---- 3 files changed, 85 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 5520739c..64d981b2 100644 --- a/README.md +++ b/README.md @@ -128,11 +128,11 @@ To install the plugin into an existing Eclipse installation do: | arsd.DScript | file-extensions="ds, dscript" | [master@Pure-D/code-d](https://github.com/Pure-D/code-d/tree/3a0825ccea623103a7027f4c1c23e5a3c38434d9/) | Astro | file-extensions="astro" | [main@withastro/language-tools](https://github.com/withastro/language-tools/tree/b4bcb4fc02cd960936a5faee6c9cc0ad94fc4c05/packages/vscode) | Ballerina | file-extensions="bal" | [master@ballerina-platform/ballerina-grammar](https://github.com/ballerina-platform/ballerina-grammar/tree/afae97ac9640b8f6a05c5c9dccdf79399d43bf50/syntaxes) -| bazelrc | file-extensions="bazelrc"
file-names=".bazelrc, bazel.rc" | [master@bazelbuild/vscode-bazel](https://github.com/bazelbuild/vscode-bazel/tree/759d20811c11bc6441279d9f542d9c3f034f93dc/) +| bazelrc | file-extensions="bazelrc"
file-names=".bazelrc, bazel.rc" | [master@bazelbuild/vscode-bazel](https://github.com/bazelbuild/vscode-bazel/tree/6ecb45c24c5032aef976685535af619e708b179c/) | Branflakes | file-extensions="bf, bfsck, brainfuck" | [main@chrisvrose/bf-server](https://github.com/chrisvrose/bf-server/tree/5945c04ccea21cd13e133547276d27d6540375f2/) -| Carbon | file-extensions="carbon" | [trunk@carbon-language/carbon-lang](https://github.com/carbon-language/carbon-lang/tree/f8dd4d85bf23ba8aaed88470f1b7be46365b0c23/utils) +| Carbon | file-extensions="carbon" | [trunk@carbon-language/carbon-lang](https://github.com/carbon-language/carbon-lang/tree/219d1cdee139aeafea80c9e5ab3a3f53059586e5/utils) | COBOL | file-extensions="cbl, cob, cobol, copy, cpy"
file-patterns="\*\*/broadcommfd.cobol-language-support/\*/copybooks/\*\*" | [development@eclipse-che4z/che-che4z-lsp-for-cobol](https://github.com/eclipse-che4z/che-che4z-lsp-for-cobol/tree/548f4b5a18fcd5f5350fccb5e9f765c5d06e085a/clients/cobol-lsp-vscode-extension) -| CodeQL | file-extensions="ql, qll" | [main@github/vscode-codeql](https://github.com/github/vscode-codeql/tree/daff5607c7390f68bf4c6b8aff0e4ae47fab7536/) +| CodeQL | file-extensions="ql, qll" | [main@github/vscode-codeql](https://github.com/github/vscode-codeql/tree/205baa117b9494d02c78eeecf5aab7ddb1dab58f/) | Crystal | file-extensions="cr" | [master@crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/tree/84df54030478ea0aeff5338cba989e6f58c5501a/) [[upstream]](https://github.com/Microsoft/vscode/blob/3f1f36333d3453f67a36b6bfb1206e9159e9c4f0/extensions/ruby/syntaxes/ruby.tmLanguage.json) | Crystal Slang | file-extensions="slang" | [master@crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/tree/84df54030478ea0aeff5338cba989e6f58c5501a/) | CSV | file-extensions="csv" | [master@mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/tree/82f1b82272e567d6e1736fce845f94eccef6d211/) @@ -151,13 +151,13 @@ To install the plugin into an existing Eclipse installation do: | Fortran | file-extensions="F03, F08, F18, F90, F95, FPP, FYPP, PF, f03, f08, f18, f90, f95, fpp, fypp, pf" | [main@fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/tree/1c8b212318a7c9e000f2e937df18bab1953ff365/) | Fortran77 | file-extensions="F, F77, FOR, f, f77, for" | [main@fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/tree/1c8b212318a7c9e000f2e937df18bab1953ff365/) | Gleam | file-extensions="gleam" | [main@gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/tree/9f28a4a0bffaccadf74f56ab72310187cd3ff6e2/) -| GraphQL | file-extensions="gql, graphql, graphqls" | [main@graphql/graphiql](https://github.com/graphql/graphiql/tree/b771e7a0997d093b5123f70b2924ca6b5b0320c8/packages/vscode-graphql-syntax) +| GraphQL | file-extensions="gql, graphql, graphqls" | [main@graphql/graphiql](https://github.com/graphql/graphiql/tree/6d7a25a65a4ee18d242ce1d12c9cfabca5c18100/packages/vscode-graphql-syntax) | GraphViz DOT File | file-extensions="dot" | [master@textmate/graphviz.tmbundle](https://github.com/textmate/graphviz.tmbundle/tree/d1d489f893a0e6ef5d9021bf7dc1ffd08b3f9b90/Syntaxes) | HashiCorp Sentinel | file-extensions="sentinel" | [main@hashicorp/syntax](https://github.com/hashicorp/syntax/tree/ae0c4e30047d0df4dc60c8e25aaaccc4e8cab604/) | HashiCorp Terraform | file-extensions="tf, tfvars" | [main@hashicorp/syntax](https://github.com/hashicorp/syntax/tree/ae0c4e30047d0df4dc60c8e25aaaccc4e8cab604/) | Haxe | file-extensions="hx" | [master@vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/tree/6fbbbf958448f877a8d524a589e3280514c950e6/) | HCL Config File | file-extensions="hcl" | [main@hashicorp/syntax](https://github.com/hashicorp/syntax/tree/ae0c4e30047d0df4dc60c8e25aaaccc4e8cab604/) -| helm-template | file-patterns="\*\*/templates/\*\*/\*.tpl, \*\*/templates/\*\*/\*.yaml, \*\*/templates/\*\*/\*.yml, \*\*/templates/\*.tpl, \*\*/templates/\*.yaml, \*\*/templates/\*.yml" | [main@vscode-kubernetes-tools/vscode-kubernetes-tools](https://github.com/vscode-kubernetes-tools/vscode-kubernetes-tools/tree/ca98cc14244497556ef01657917565119a5be52a/) +| helm-template | file-patterns="\*\*/templates/\*\*/\*.tpl, \*\*/templates/\*\*/\*.yaml, \*\*/templates/\*\*/\*.yml, \*\*/templates/\*.tpl, \*\*/templates/\*.yaml, \*\*/templates/\*.yml" | [main@vscode-kubernetes-tools/vscode-kubernetes-tools](https://github.com/vscode-kubernetes-tools/vscode-kubernetes-tools/tree/afbe8be633b2d2ae089b94d0f870311e82b53d37/) | Janet | file-extensions="janet" | [master@janet-lang/vscode-janet](https://github.com/janet-lang/vscode-janet/tree/0225a87fb8c75d9dec024d592f2bdcf74f366e5e/) | Jinja C++ | file-extensions="c.j2, c.jinja, c.jinja2, cpp.j2, cpp.jinja, cpp.jinja2, h.j2, h.jinja, h.jinja2" | [main@samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/tree/d8daf5fd43941deec8803be2335b35922e3e1eeb/) | Jinja Cisco Config | file-extensions="cisco.j2, cisco.jinja, cisco.jinja2, ios.j2, ios.jinja, ios.jinja2" | [main@samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/tree/d8daf5fd43941deec8803be2335b35922e3e1eeb/) @@ -199,22 +199,22 @@ To install the plugin into an existing Eclipse installation do: | NGINX Conf | file-extensions="conf, fastcgi_params, nginx, scgi_params, uwsgi_params"
file-patterns="\*.conf.default, \*.conf.template, \*.mime.types, \*.nginx.conf" | [main@almir/nginx-syntax-highlighter](https://github.com/almir/nginx-syntax-highlighter/tree/03fa6617212032f1d538891730bb15feb4df2ef8/) | Nunjucks HTML | file-extensions="njk, njk.html" | [main@edheltzel/better-nunjucks-for-visual-studio-code](https://github.com/edheltzel/better-nunjucks-for-visual-studio-code/tree/83bfc919563c30f8eeb1548f983e143adad29781/) | nushell | file-extensions="nu" | [main@nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/tree/d4561e4e4e529400603a0fd2b134571d920d6765/) -| OCaml | file-extensions="eliom, ml, ocamlinit" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/75b10f1525e088197d4a0fef158560420dd4a38f/) -| OCaml Interface | file-extensions="eliomi, mli" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/75b10f1525e088197d4a0fef158560420dd4a38f/) -| OCaml.mlx | file-extensions="mlx" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/75b10f1525e088197d4a0fef158560420dd4a38f/) -| OCamlFormat | file-extensions="ocamlformat" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/75b10f1525e088197d4a0fef158560420dd4a38f/) -| odin | file-extensions="odin" | [master@DanielGavin/ols](https://github.com/DanielGavin/ols/tree/c2eed7d50f1b0d6b83c204c4164fed28c32d59ca/editors/vscode) -| opam | file-extensions="opam, opam.locked, opam.template"
file-names="opam" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/75b10f1525e088197d4a0fef158560420dd4a38f/) +| OCaml | file-extensions="eliom, ml, ocamlinit" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/b1732b91f4a9f82eca3bccf38deca13c5c27de48/) +| OCaml Interface | file-extensions="eliomi, mli" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/b1732b91f4a9f82eca3bccf38deca13c5c27de48/) +| OCaml.mlx | file-extensions="mlx" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/b1732b91f4a9f82eca3bccf38deca13c5c27de48/) +| OCamlFormat | file-extensions="ocamlformat" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/b1732b91f4a9f82eca3bccf38deca13c5c27de48/) +| odin | file-extensions="odin" | [master@DanielGavin/ols](https://github.com/DanielGavin/ols/tree/61996e4ba5d2072b5b0c25a0e71acf5428521b9b/editors/vscode) +| opam | file-extensions="opam, opam.locked, opam.template"
file-names="opam" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/b1732b91f4a9f82eca3bccf38deca13c5c27de48/) | OpenGL Shading Language | file-extensions="comp, csh, frag, fs, fsh, fshader, geom, glsl, gs, gsh, gshader, mesh, rahit, rcall, rchit, rgen, rint, rmiss, task, tesc, tese, vert, vs, vsh, vshader" | [master@GeForceLegend/vscode-glsl](https://github.com/GeForceLegend/vscode-glsl/tree/d9adb612cbb0dd3aefb8859e4084bee4872beac4/) | Pascal | file-extensions="dfm, dpk, dpr, fmx, lfm, lpr, p, pas" | [master@textmate/pascal.tmbundle](https://github.com/textmate/pascal.tmbundle/tree/3b11b782368065e55acce0423f385722771d28b0/Syntaxes) | PlantUML | file-extensions="iuml, plantuml, pu, puml, wsd" | [master@qjebbs/vscode-plantuml](https://github.com/qjebbs/vscode-plantuml/tree/7bc1758ed73dc269f5721d78c6c6c01f461d7cb0/) | Pony | file-extensions="pony" | [main@chalcolith/eohippus](https://github.com/chalcolith/eohippus/tree/de8031c34fbde4b124e4f0f34fa3fd84c4795bac/eohippus-vscode) -| Prisma | file-extensions="prisma" | [main@prisma/language-tools](https://github.com/prisma/language-tools/tree/5e3695dc3f0f5fa7ce9a114330883ed12eabee02/packages/vscode) -| Reason | file-extensions="re, rei" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/75b10f1525e088197d4a0fef158560420dd4a38f/) -| Ring | file-extensions="rform, rh, ring" | [master@ring-lang/ring](https://github.com/ring-lang/ring/tree/e4e643cf76cce06cb469b1b6e15fa6322ce0087f/tools/editors/vscode/extension) +| Prisma | file-extensions="prisma" | [main@prisma/language-tools](https://github.com/prisma/language-tools/tree/e9d56c46f2bc9230fd7e9d7af4682f3f2e18c89f/packages/vscode) +| Reason | file-extensions="re, rei" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/b1732b91f4a9f82eca3bccf38deca13c5c27de48/) +| Ring | file-extensions="rform, rh, ring" | [master@ring-lang/ring](https://github.com/ring-lang/ring/tree/babd5d8994db3f905e297804384ee9011d2157f3/tools/editors/vscode/extension) | Roc | file-extensions="roc" | [main@ivan-demchenko/roc-vscode-unofficial](https://github.com/ivan-demchenko/roc-vscode-unofficial/tree/5913f7e83572b157df5115833f0d10bdfd773d9c/) -| Starlark | file-extensions="BUILD, WORKSPACE, bazel, bzl, bzlmod, sky, star"
file-names="BUILD, WORKSPACE" | [master@bazelbuild/vscode-bazel](https://github.com/bazelbuild/vscode-bazel/tree/759d20811c11bc6441279d9f542d9c3f034f93dc/) -| Svelte | file-extensions="svelte" | [master@sveltejs/language-tools](https://github.com/sveltejs/language-tools/tree/d99bb3406beff720c84a90419a1f4faedf5da936/packages/svelte-vscode) +| Starlark | file-extensions="BUILD, WORKSPACE, bazel, bzl, bzlmod, sky, star"
file-names="BUILD, WORKSPACE" | [master@bazelbuild/vscode-bazel](https://github.com/bazelbuild/vscode-bazel/tree/6ecb45c24c5032aef976685535af619e708b179c/) +| Svelte | file-extensions="svelte" | [master@sveltejs/language-tools](https://github.com/sveltejs/language-tools/tree/4a064e5ef6d1c0148b2f833fadafea1b134e9d5c/packages/svelte-vscode) | systemd unit file | file-extensions="automount, build, container, device, kube, link, mount, netdev, network, path, pod, scope, service, slice, snapshot, socket, swap, target, timer, volume" | [master@bearmini/vscode-systemd-unit-file](https://github.com/bearmini/vscode-systemd-unit-file/tree/0dfc69cea5716b2be482842d34a5011416b56d9a/) | TOML Config File | file-extensions="toml"
file-names="Cargo.lock, Pipfile, pdm.lock" | [master@juggernautjp/less-toml](https://github.com/juggernautjp/less-toml/tree/13eb891232e98c4a9c595bf8c657893c84edf3a9/) [[upstream]](https://github.com/textmate/toml.tmbundle/commit/e82b64c1e86396220786846201e9aa3f0a2d9ca2) | TSV | file-extensions="tab, tsv" | [master@mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/tree/82f1b82272e567d6e1736fce845f94eccef6d211/) diff --git a/plugin/syntaxes/prisma/prisma.tmLanguage.json b/plugin/syntaxes/prisma/prisma.tmLanguage.json index a173c9a0..3f49d598 100644 --- a/plugin/syntaxes/prisma/prisma.tmLanguage.json +++ b/plugin/syntaxes/prisma/prisma.tmLanguage.json @@ -13,6 +13,9 @@ { "include": "#multi_line_comment" }, + { + "include": "#types_block_definition" + }, { "include": "#model_block_definition" }, @@ -217,6 +220,62 @@ } ] }, + "types_block_definition": { + "begin": "^\\s*(types)\\s*({)", + "name": "source.prisma.embedded.source", + "beginCaptures": { + "1": { + "name": "storage.type.types.prisma" + }, + "2": { + "name": "punctuation.definition.tag.prisma" + } + }, + "patterns": [ + { + "include": "#triple_comment" + }, + { + "include": "#double_comment" + }, + { + "include": "#multi_line_comment" + }, + { + "include": "#type_alias_definition" + } + ], + "end": "\\s*\\}", + "endCaptures": { + "0": { + "name": "punctuation.definition.tag.prisma" + } + } + }, + "type_alias_definition": { + "patterns": [ + { + "match": "^\\s*(\\w+)\\s*(=)\\s*(\\w+)", + "captures": { + "1": { + "name": "entity.name.type.alias.prisma" + }, + "2": { + "name": "keyword.operator.assignment.prisma" + }, + "3": { + "name": "support.type.primitive.prisma" + } + } + }, + { + "include": "#attribute_with_arguments" + }, + { + "include": "#attribute" + } + ] + }, "enum_value_definition": { "patterns": [ { diff --git a/plugin/updater/updater-state.yaml b/plugin/updater/updater-state.yaml index c9e647e9..db7e9418 100644 --- a/plugin/updater/updater-state.yaml +++ b/plugin/updater/updater-state.yaml @@ -83,7 +83,7 @@ extensions: github: repo: bazelbuild/vscode-bazel ref: master - commit: 759d20811c11bc6441279d9f542d9c3f034f93dc + commit: 6ecb45c24c5032aef976685535af619e708b179c languages: bazelrc: label: bazelrc @@ -125,7 +125,7 @@ extensions: repo: carbon-language/carbon-lang path: utils ref: trunk - commit: f8dd4d85bf23ba8aaed88470f1b7be46365b0c23 + commit: 219d1cdee139aeafea80c9e5ab3a3f53059586e5 languages: carbon: label: Carbon @@ -172,7 +172,7 @@ extensions: github: repo: github/vscode-codeql ref: main - commit: daff5607c7390f68bf4c6b8aff0e4ae47fab7536 + commit: 205baa117b9494d02c78eeecf5aab7ddb1dab58f languages: ql: label: CodeQL @@ -488,7 +488,7 @@ extensions: repo: graphql/graphiql path: packages/vscode-graphql-syntax ref: main - commit: b771e7a0997d093b5123f70b2924ca6b5b0320c8 + commit: 6d7a25a65a4ee18d242ce1d12c9cfabca5c18100 languages: graphql: label: GraphQL @@ -577,7 +577,7 @@ extensions: github: repo: vscode-kubernetes-tools/vscode-kubernetes-tools ref: main - commit: ca98cc14244497556ef01657917565119a5be52a + commit: afbe8be633b2d2ae089b94d0f870311e82b53d37 languages: helm: label: helm-template @@ -1101,7 +1101,7 @@ extensions: github: repo: ocamllabs/vscode-ocaml-platform ref: master - commit: 75b10f1525e088197d4a0fef158560420dd4a38f + commit: b1732b91f4a9f82eca3bccf38deca13c5c27de48 languages: ocaml: label: OCaml @@ -1156,7 +1156,7 @@ extensions: repo: DanielGavin/ols path: editors/vscode ref: master - commit: c2eed7d50f1b0d6b83c204c4164fed28c32d59ca + commit: 61996e4ba5d2072b5b0c25a0e71acf5428521b9b languages: odin: label: odin @@ -1222,7 +1222,7 @@ extensions: repo: prisma/language-tools path: packages/vscode ref: main - commit: 5e3695dc3f0f5fa7ce9a114330883ed12eabee02 + commit: e9d56c46f2bc9230fd7e9d7af4682f3f2e18c89f languages: prisma: label: Prisma @@ -1254,7 +1254,7 @@ extensions: repo: ring-lang/ring path: tools/editors/vscode/extension ref: master - commit: e4e643cf76cce06cb469b1b6e15fa6322ce0087f + commit: babd5d8994db3f905e297804384ee9011d2157f3 languages: ring: label: Ring @@ -1279,7 +1279,7 @@ extensions: repo: sveltejs/language-tools path: packages/svelte-vscode ref: master - commit: d99bb3406beff720c84a90419a1f4faedf5da936 + commit: 4a064e5ef6d1c0148b2f833fadafea1b134e9d5c languages: svelte: label: Svelte