Skip to content

Commit

Permalink
Add support for the uxntal language
Browse files Browse the repository at this point in the history
  • Loading branch information
Jummit committed Feb 18, 2023
1 parent c5c1b5a commit d0d50b8
Show file tree
Hide file tree
Showing 3 changed files with 29 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 @@ -134,6 +134,7 @@
| twig || | | |
| typescript |||| `typescript-language-server` |
| ungrammar || | | |
| uxntal || | | |
| v || | | `v` |
| vala || | | `vala-language-server` |
| verilog ||| | `svlangserver` |
Expand Down
13 changes: 13 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2167,3 +2167,16 @@ comment-token = "#"
[[grammar]]
name = "hosts"
source = { git = "https://github.com/ath3/tree-sitter-hosts", rev = "301b9379ce7dfc8bdbe2c2699a6887dcb73953f9" }

[[language]]
name = "uxntal"
scope = "source.tal"
injection-regex = "tal"
file-types = ["tal"]
roots = []
auto-format = false
comment-token = "("

[[grammar]]
name = "uxntal"
source = { git = "https://github.com/Jummit/tree-sitter-uxntal", rev = "9297e95ef74380b0ad84c4fd98f91e9f6e4319e6" }
15 changes: 15 additions & 0 deletions runtime/queries/uxntal/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
; highlights.scm

(identifier) @keyword
(number) @constant.numeric
(comment) @comment
(raw_character) @constant.character
(literal_hex) @constant.numeric.integer
(macro_definition) @function
(label_definition) @label
(sub_label_definition) @label
(relative_pad) @constant
(label) @label
(sub_label) @label
(ERROR) @error
["[" "]" "{" "}"] @punctuation.bracket

0 comments on commit d0d50b8

Please sign in to comment.