aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/hoon/highlights.scm
diff options
context:
space:
mode:
authoriko2024-02-12 15:36:14 +0000
committerGitHub2024-02-12 15:36:14 +0000
commitd7c7589fd5d4dc307f37e23bdac1e5fec4ded4fc (patch)
tree65c3eecf5b729db7d7ea628e1251db8e85405ca7 /runtime/queries/hoon/highlights.scm
parentad7b7bc8047d3c0930bbc6201d8f69132b396b9b (diff)
Add Hoon (#9190)
* Added Hoon * Added highlights.scm * Updated docs * Update runtime/queries/hoon/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'runtime/queries/hoon/highlights.scm')
-rw-r--r--runtime/queries/hoon/highlights.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/runtime/queries/hoon/highlights.scm b/runtime/queries/hoon/highlights.scm
new file mode 100644
index 00000000..91e6b854
--- /dev/null
+++ b/runtime/queries/hoon/highlights.scm
@@ -0,0 +1,32 @@
+(number) @constant.numeric
+
+(string) @string
+
+[
+ "("
+ ")"
+ "["
+ "]"
+] @punctuation.bracket
+
+[
+ (coreTerminator)
+ (seriesTerminator)
+] @punctuation.delimiter
+
+
+(rune) @keyword
+
+(term) @constant
+
+(aura) @constant.builtin
+
+(Gap) @comment
+
+(boolean) @constant.builtin
+
+(date) @constant.builtin
+(mold) @constant.builtin
+(specialIndex) @constant.builtin
+(lark) @operator
+(fullContext) @constant.builtin