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:
urbit-pilled 2023-06-30 11:26:44 +12:00 committed by GitHub
parent 849645e893
commit 04dda34cb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 56 additions and 0 deletions

6
queries/hoon/folds.scm Normal file
View file

@ -0,0 +1,6 @@
[
(bartisTall)
(luslusTall)
(lusbucTall)
(barcenTall)
] @fold

View 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
View file

@ -0,0 +1,4 @@
(tisfasTall
name: (name) @definition.var)
(name) @reference