mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -04:00
feat: add Hoon language support
--------- Co-authored-by: urbit-pilled <urbit-pilled> Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
parent
849645e893
commit
04dda34cb7
6 changed files with 56 additions and 0 deletions
6
queries/hoon/folds.scm
Normal file
6
queries/hoon/folds.scm
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
(bartisTall)
|
||||
(luslusTall)
|
||||
(lusbucTall)
|
||||
(barcenTall)
|
||||
] @fold
|
||||
33
queries/hoon/highlights.scm
Normal file
33
queries/hoon/highlights.scm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
(number) @number
|
||||
|
||||
(string) @string
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
(coreTerminator)
|
||||
(seriesTerminator)
|
||||
] @punctuation.delimiter
|
||||
|
||||
|
||||
(rune) @operator
|
||||
|
||||
(term) @constant
|
||||
|
||||
(aura) @constant.builtin
|
||||
|
||||
(Gap) @comment
|
||||
|
||||
(boolean) @constant.builtin
|
||||
|
||||
(date) @string.special
|
||||
|
||||
(mold) @symbol
|
||||
(specialIndex) @number.builtin
|
||||
(lark) @operator
|
||||
(fullContext) @symbol
|
||||
4
queries/hoon/locals.scm
Normal file
4
queries/hoon/locals.scm
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(tisfasTall
|
||||
name: (name) @definition.var)
|
||||
|
||||
(name) @reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue