diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index da37dfb34852..dbf4d3e05cfe 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -162,6 +162,7 @@ | vue | ✓ | | | `vue-language-server` | | wast | ✓ | | | | | wat | ✓ | | | | +| webc | ✓ | | | | | wgsl | ✓ | | | `wgsl_analyzer` | | wit | ✓ | | ✓ | | | xit | ✓ | | | | diff --git a/languages.toml b/languages.toml index 63678bf4037d..3dec269388d2 100644 --- a/languages.toml +++ b/languages.toml @@ -2624,3 +2624,12 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "t32" source = { git = "https://codeberg.org/xasc/tree-sitter-t32", rev = "1dd98248b01e4a3933c1b85b58bab0875e2ba437" } + +[[language]] +name = "webc" +scope = "text.html.webc" +injection-regex = "webc" +file-types = ["webc"] +roots = [] +indent = { tab-width = 2, unit = " " } +grammar = "html" diff --git a/runtime/queries/webc/highlights.scm b/runtime/queries/webc/highlights.scm new file mode 100644 index 000000000000..207cf4eeae5e --- /dev/null +++ b/runtime/queries/webc/highlights.scm @@ -0,0 +1 @@ +; inherits: html \ No newline at end of file diff --git a/runtime/queries/webc/injections.scm b/runtime/queries/webc/injections.scm new file mode 100644 index 000000000000..207cf4eeae5e --- /dev/null +++ b/runtime/queries/webc/injections.scm @@ -0,0 +1 @@ +; inherits: html \ No newline at end of file