From bbb69a5fb56770252ba22e602f1ad761cca16cf3 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 19 Feb 2026 19:43:06 +0000
Subject: [PATCH] chore: Update Syntax Files
---
README.md | 34 +++++++++----------
.../syntaxes/nushell/nushell.tmLanguage.json | 28 +++++++--------
.../odin/odin.language-configuration.json | 7 +++-
plugin/syntaxes/svelte/svelte.tmLanguage.yaml | 12 +++++++
plugin/updater/updater-state.yaml | 22 ++++++------
5 files changed, 60 insertions(+), 43 deletions(-)
diff --git a/README.md b/README.md
index 06754d3a..e13d247b 100644
--- a/README.md
+++ b/README.md
@@ -127,12 +127,12 @@ To install the plugin into an existing Eclipse installation do:
| Ballerina | file-extensions="bal" | [master@ballerina-platform/ballerina-grammar](https://github.com/ballerina-platform/ballerina-grammar/tree/9c1bee1e9f48c03a8ad8760b0053ca5687460354/syntaxes)
| bazelrc
| file-extensions="bazelrc"
file-names=".bazelrc, bazel.rc" | [master@bazelbuild/vscode-bazel](https://github.com/bazelbuild/vscode-bazel/tree/930d18aacfdd0d834d8f4acc1d677b576801cd52/)
| 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/9a90f19c60f2d5ff453ea3fcc2350cadcb727940/utils)
+| Carbon | file-extensions="carbon" | [trunk@carbon-language/carbon-lang](https://github.com/carbon-language/carbon-lang/tree/e00394ea92ce17f9d349b2a1443f2923a672bd8d/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/d3fa4b56e6e62a56617019e25bd6b650877354dc/clients/cobol-lsp-vscode-extension)
-| CodeQL
| file-extensions="ql, qll" | [main@github/vscode-codeql](https://github.com/github/vscode-codeql/tree/f7a5a5285b2be3091f14b5dee775044beccf721f/)
+| CodeQL
| file-extensions="ql, qll" | [main@github/vscode-codeql](https://github.com/github/vscode-codeql/tree/bed7e820fc58d07059a8a8cc56c4298ca9bf46b6/)
| Crystal
| file-extensions="cr" | [master@crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/tree/9d85621bd72b76fb5f4c81dd8357a3e6e834f7ce/) [[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/9d85621bd72b76fb5f4c81dd8357a3e6e834f7ce/)
-| CSV
| file-extensions="csv" | [master@mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/tree/d9680bbe219155d56eef7fda4e37fc4a96157425/)
+| CSV
| file-extensions="csv" | [master@mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/tree/633c652623c63a8148623ecd13805ad470ae9634/)
| d2
| file-extensions="d2" | [master@terrastruct/d2-vscode](https://github.com/terrastruct/d2-vscode/tree/88d9716009f9b8d65bfd6dea96064c94a5cf275f/)
| EditorConfig
| file-extensions="editorconfig" | [main@editorconfig/editorconfig-vscode](https://github.com/editorconfig/editorconfig-vscode/tree/e32b46f6e0a1ee53059675ed00e7513d7b096feb/)
| Elm
| file-extensions="elm" | [main@elm-tooling/elm-language-client-vscode](https://github.com/elm-tooling/elm-language-client-vscode/tree/cc3a7c463a7af57639ee91d4717be1723a936156/)
@@ -150,7 +150,7 @@ To install the plugin into an existing Eclipse installation do:
| 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/fd0b74c593e9cc701a49b888faa95896049f15dc/)
+| 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/10fb5c104013488423f02ff42de607462aa02a6e/)
| 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/)
@@ -188,29 +188,29 @@ To install the plugin into an existing Eclipse installation do:
| Markdoc
| file-extensions="markdoc, markdoc.md, mdoc" | [main@markdoc/language-server](https://github.com/markdoc/language-server/tree/a6b8babf602735dc31bae1d10fad903dc40c9761/)
| Markdown | file-extensions="livemd, markdown, md, mdown, mdwn, mkd, mkdn, mkdown, ronn, scd, workbook" | [main@wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/tree/c78b1e5df644d24fa76716bbe26f4b48a6fc1610/)
| MDX
| file-extensions="mdx" | [main@mdx-js/mdx-analyzer](https://github.com/mdx-js/mdx-analyzer/tree/4851c2df02cd9c25a3cebc34cf9c4c1841c1feab/packages/vscode-mdx)
-| mermaid
| file-extensions="mermaid, mmd" | [master@bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/tree/ccb7011c7896c1c398cc15881912fe766c3825c7/)
+| mermaid
| file-extensions="mermaid, mmd" | [master@bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/tree/52328ed4891a85ab75e1d71451cf1eae8160b10d/)
| NDVR-COBOL
| file-extensions="cbl.prnt, cob.prnt, cobol.prnt, copy.prnt, cpy.prnt" | [development@eclipse-che4z/che-che4z-lsp-for-cobol](https://github.com/eclipse-che4z/che-che4z-lsp-for-cobol/tree/d3fa4b56e6e62a56617019e25bd6b650877354dc/clients/cobol-lsp-vscode-extension)
| 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/ec27848b50deda7b6d5da7365a97bf9e3dda0fcd/)
-| OCaml
| file-extensions="eliom, ml, ocamlinit" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/7facc20b64a3f20cae1c6fbf423c2c1d669c1e83/)
-| OCaml Interface
| file-extensions="eliomi, mli" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/7facc20b64a3f20cae1c6fbf423c2c1d669c1e83/)
-| OCaml.mlx
| file-extensions="mlx" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/7facc20b64a3f20cae1c6fbf423c2c1d669c1e83/)
-| OCamlFormat
| file-extensions="ocamlformat" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/7facc20b64a3f20cae1c6fbf423c2c1d669c1e83/)
-| odin
| file-extensions="odin" | [master@DanielGavin/ols](https://github.com/DanielGavin/ols/tree/b9e9672594605c93173b68e3a01d96488a976c2d/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/7facc20b64a3f20cae1c6fbf423c2c1d669c1e83/)
+| nushell
| file-extensions="nu" | [main@nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/tree/301f93bb350bc0a8db47d4e0cf23b412cbc8f4b7/)
+| OCaml
| file-extensions="eliom, ml, ocamlinit" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/91f70954fe3ac8c7a169736c3718137e1857a5c9/)
+| OCaml Interface
| file-extensions="eliomi, mli" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/91f70954fe3ac8c7a169736c3718137e1857a5c9/)
+| OCaml.mlx
| file-extensions="mlx" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/91f70954fe3ac8c7a169736c3718137e1857a5c9/)
+| OCamlFormat
| file-extensions="ocamlformat" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/91f70954fe3ac8c7a169736c3718137e1857a5c9/)
+| odin
| file-extensions="odin" | [master@DanielGavin/ols](https://github.com/DanielGavin/ols/tree/1ad5d472f245e67fd3be2e24d23535231c4a6c43/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/91f70954fe3ac8c7a169736c3718137e1857a5c9/)
| 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/da57fa1415d5b77191ee8566f2b4b6cd9dbb3572/)
| 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/a00aaf81e36d674f206fdd85c80d4848ea16e072/packages/vscode)
-| Reason
| file-extensions="re, rei" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/7facc20b64a3f20cae1c6fbf423c2c1d669c1e83/)
-| Ring
| file-extensions="rform, rh, ring" | [master@ring-lang/ring](https://github.com/ring-lang/ring/tree/87a714f2b6c552c64dce5a96cf867698e89a0253/tools/editors/vscode/extension)
+| Prisma
| file-extensions="prisma" | [main@prisma/language-tools](https://github.com/prisma/language-tools/tree/6b3330952859d9ea5bc40915f3b19c76589a5dab/packages/vscode)
+| Reason
| file-extensions="re, rei" | [master@ocamllabs/vscode-ocaml-platform](https://github.com/ocamllabs/vscode-ocaml-platform/tree/91f70954fe3ac8c7a169736c3718137e1857a5c9/)
+| Ring
| file-extensions="rform, rh, ring" | [master@ring-lang/ring](https://github.com/ring-lang/ring/tree/fbb1ee0e1279b2dd5859a867f93f141b6f41961d/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/930d18aacfdd0d834d8f4acc1d677b576801cd52/)
-| Svelte
| file-extensions="svelte" | [master@sveltejs/language-tools](https://github.com/sveltejs/language-tools/tree/3b17f2053112d95b99b7727edaaac29d226bcc0d/packages/svelte-vscode)
+| Svelte
| file-extensions="svelte" | [master@sveltejs/language-tools](https://github.com/sveltejs/language-tools/tree/d13f08d7e1bbc71baf0d431fa51412df2adb94a0/packages/svelte-vscode)
| 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/d9680bbe219155d56eef7fda4e37fc4a96157425/)
+| TSV
| file-extensions="tab, tsv" | [master@mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/tree/633c652623c63a8148623ecd13805ad470ae9634/)
| Twig
| file-extensions="peb, twig" | [main@rholdos/vscode-twig-language-support](https://github.com/rholdos/vscode-twig-language-support/tree/f1e9a1722c91d3f3b3c548386861fd01bfdbeb3b/)
| Wing
| file-extensions="w, wsim" | [main@winglang/wing](https://github.com/winglang/wing/tree/8fb4c792ce202afb08b3aec9fc61f902d8c7efc6/packages/vscode-wing)
| Zig
| file-extensions="zig, zon" | [master@ziglang/vscode-zig](https://github.com/ziglang/vscode-zig/tree/38309f0b1dc0c1bdc4b23e78594302bf28ef43d1/)
diff --git a/plugin/syntaxes/nushell/nushell.tmLanguage.json b/plugin/syntaxes/nushell/nushell.tmLanguage.json
index eff5e9ff..95ecabed 100644
--- a/plugin/syntaxes/nushell/nushell.tmLanguage.json
+++ b/plugin/syntaxes/nushell/nushell.tmLanguage.json
@@ -377,10 +377,10 @@
"function": {
"begin": "((?:export\\s+)?def)(?:\\s+((?:--\\w+(?:\\s+--\\w+)*)))?\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|`[\\w\\- ]+`)(?:\\s+((?:--\\w+(?:\\s+--\\w+)*)))?",
"beginCaptures": {
- "1": { "name": "entity.name.function.nushell" },
- "2": { "name": "entity.name.function.nushell" },
- "3": { "name": "entity.name.type.nushell" },
- "4": { "name": "entity.name.function.nushell" }
+ "1": { "name": "storage.type.function.nushell" },
+ "2": { "name": "storage.modifier.nushell" },
+ "3": { "name": "entity.name.function.nushell" },
+ "4": { "name": "storage.modifier.nushell" }
},
"end": "(?<=\\})",
"patterns": [
@@ -392,8 +392,8 @@
"extern": {
"begin": "((?:export\\s+)?extern)\\s+([\\w\\-]+|\"[\\w\\- ]+\")",
"beginCaptures": {
- "1": { "name": "entity.name.function.nushell" },
- "2": { "name": "entity.name.type.nushell" }
+ "1": { "name": "storage.type.function.nushell" },
+ "2": { "name": "entity.name.function.nushell" }
},
"end": "(?<=\\])",
"endCaptures": {
@@ -404,7 +404,7 @@
"module": {
"begin": "((?:export\\s+)?module)\\s+([\\w\\-]+)\\s*\\{",
"beginCaptures": {
- "1": { "name": "entity.name.function.nushell" },
+ "1": { "name": "storage.type.module.nushell" },
"2": { "name": "entity.name.namespace.nushell" }
},
"end": "\\}",
@@ -419,7 +419,7 @@
{
"match": "^\\s*((?:export )?use)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+')(?:\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|\\*))?\\s*;?$",
"captures": {
- "1": { "name": "entity.name.function.nushell" },
+ "1": { "name": "keyword.control.import.nushell" },
"2": { "name": "entity.name.namespace.nushell" },
"3": { "name": "keyword.other.nushell" }
}
@@ -427,7 +427,7 @@
{
"begin": "^\\s*((?:export )?use)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+')\\s*\\[",
"beginCaptures": {
- "1": { "name": "entity.name.function.nushell" },
+ "1": { "name": "keyword.control.import.nushell" },
"2": { "name": "entity.name.namespace.nushell" }
},
"end": "(\\])\\s*;?\\s*$",
@@ -449,7 +449,7 @@
{
"match": "(?(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+(\"\\g\"|'\\g\\'|(?![\"'])\\g)(?:\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[^']+'|\\*))?\\s*;?$",
"captures": {
- "2": { "name": "entity.name.function.nushell" },
+ "2": { "name": "keyword.control.import.nushell" },
"3": {
"name": "string.bare.nushell",
"patterns": [
@@ -467,7 +467,7 @@
{
"begin": "(?(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+(\"\\g\"|'\\g\\'|(?![\"'])\\g)\\s+\\[",
"beginCaptures": {
- "2": { "name": "entity.name.function.nushell" },
+ "2": { "name": "keyword.control.import.nushell" },
"3": {
"name": "string.bare.nushell",
"patterns": [
@@ -499,7 +499,7 @@
{
"match": "^\\s*(?:export )?use\\b",
"captures": {
- "0": { "name": "entity.name.function.nushell" }
+ "0": { "name": "keyword.control.import.nushell" }
}
}
]
@@ -613,8 +613,8 @@
"define-alias": {
"match": "((?:export )?alias)\\s+([\\w\\-!]+)\\s*(=)",
"captures": {
- "1": { "name": "entity.name.function.nushell" },
- "2": { "name": "entity.name.type.nushell" },
+ "1": { "name": "storage.type.alias.nushell" },
+ "2": { "name": "entity.name.function.nushell" },
"3": {
"patterns": [{ "include": "#operators" }]
}
diff --git a/plugin/syntaxes/odin/odin.language-configuration.json b/plugin/syntaxes/odin/odin.language-configuration.json
index c0c2a06e..489ef65f 100644
--- a/plugin/syntaxes/odin/odin.language-configuration.json
+++ b/plugin/syntaxes/odin/odin.language-configuration.json
@@ -28,5 +28,10 @@
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$|^\\s*case.*:$",
"decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]"
},
-
+ "folding": {
+ "markers": {
+ "start": "^\\s*//\\s*?region\\b",
+ "end": "^\\s*//\\s*?endregion\\b"
+ }
+ }
}
\ No newline at end of file
diff --git a/plugin/syntaxes/svelte/svelte.tmLanguage.yaml b/plugin/syntaxes/svelte/svelte.tmLanguage.yaml
index aadf41d6..7252cd59 100644
--- a/plugin/syntaxes/svelte/svelte.tmLanguage.yaml
+++ b/plugin/syntaxes/svelte/svelte.tmLanguage.yaml
@@ -391,11 +391,23 @@ repository:
attributes:
patterns:
+ - include: '#attributes-comments'
- include: '#attributes-directives'
- include: '#attributes-keyvalue'
- include: '#attributes-attach'
- include: '#attributes-interpolated'
+ # Comments within attributes
+ attributes-comments:
+ patterns:
+ # Single-line comment
+ - match: //.*$
+ name: comment.line.double-slash.svelte
+ # Block comment
+ - begin: /\*
+ end: \*/
+ name: comment.block.svelte
+
# Attachments
attributes-attach:
begin: (?