Skip to content

Commit

Permalink
Webc language support (helix-editor#7290)
Browse files Browse the repository at this point in the history
* feat: add webc language support

* feat: add to lang-support book webc
  • Loading branch information
vanarok authored and wes-adams committed Jul 3, 2023
1 parent 10c746b commit c408654
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
| vue || | | `vue-language-server` |
| wast || | | |
| wat || | | |
| webc || | | |
| wgsl || | | `wgsl_analyzer` |
| wit || || |
| xit || | | |
Expand Down
9 changes: 9 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions runtime/queries/webc/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: html
1 change: 1 addition & 0 deletions runtime/queries/webc/injections.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: html

0 comments on commit c408654

Please sign in to comment.