on master help sign in
Webc language support (#7290)
df09490Ivan Svoboda
book/src/generated/lang-support.md+1
@@ -162,6 +162,7 @@
162| vue | ✓ | | | `vue-language-server` |
162| vue | ✓ | | | `vue-language-server` |
163| wast | ✓ | | | |
163| wast | ✓ | | | |
164| wat | ✓ | | | |
164| wat | ✓ | | | |
165+| webc | ✓ | | | |
165| wgsl | ✓ | | | `wgsl_analyzer` |
166| wgsl | ✓ | | | `wgsl_analyzer` |
166| wit | ✓ | | ✓ | |
167| wit | ✓ | | ✓ | |
167| xit | ✓ | | | |
168| xit | ✓ | | | |
languages.toml+9
@@ -2624,3 +2624,12 @@ indent = { tab-width = 2, unit = " " }
2624[[grammar]]
2624[[grammar]]
2625name = "t32"
2625name = "t32"
2626source = { git = "https://codeberg.org/xasc/tree-sitter-t32", rev = "1dd98248b01e4a3933c1b85b58bab0875e2ba437" }
2626source = { git = "https://codeberg.org/xasc/tree-sitter-t32", rev = "1dd98248b01e4a3933c1b85b58bab0875e2ba437" }
2627+
2628+[[language]]
2629+name = "webc"
2630+scope = "text.html.webc"
2631+injection-regex = "webc"
2632+file-types = ["webc"]
2633+roots = []
2634+indent = { tab-width = 2, unit = " " }
2635+grammar = "html"
runtime/queries/webc/highlights.scmnew file+1
@@ -0,0 +1 @@
1+; inherits: html
runtime/queries/webc/injections.scmnew file+1
@@ -0,0 +1 @@
1+; inherits: html