Add support for the uxntal language (#6047)
This commit is contained in:
parent
71220da139
commit
5ff2cb24e2
3 changed files with 29 additions and 0 deletions
|
@ -134,6 +134,7 @@
|
||||||
| twig | ✓ | | | |
|
| twig | ✓ | | | |
|
||||||
| typescript | ✓ | ✓ | ✓ | `typescript-language-server` |
|
| typescript | ✓ | ✓ | ✓ | `typescript-language-server` |
|
||||||
| ungrammar | ✓ | | | |
|
| ungrammar | ✓ | | | |
|
||||||
|
| uxntal | ✓ | | | |
|
||||||
| v | ✓ | | | `v` |
|
| v | ✓ | | | `v` |
|
||||||
| vala | ✓ | | | `vala-language-server` |
|
| vala | ✓ | | | `vala-language-server` |
|
||||||
| verilog | ✓ | ✓ | | `svlangserver` |
|
| verilog | ✓ | ✓ | | `svlangserver` |
|
||||||
|
|
|
@ -2167,3 +2167,16 @@ comment-token = "#"
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "hosts"
|
name = "hosts"
|
||||||
source = { git = "https://github.com/ath3/tree-sitter-hosts", rev = "301b9379ce7dfc8bdbe2c2699a6887dcb73953f9" }
|
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
runtime/queries/uxntal/highlights.scm
Normal file
15
runtime/queries/uxntal/highlights.scm
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue