From d7c7589fd5d4dc307f37e23bdac1e5fec4ded4fc Mon Sep 17 00:00:00 2001 From: iko Date: Mon, 12 Feb 2024 15:36:14 +0000 Subject: Add Hoon (#9190) * Added Hoon * Added highlights.scm * Updated docs * Update runtime/queries/hoon/highlights.scm Co-authored-by: Michael Davis --------- Co-authored-by: Michael Davis --- runtime/queries/hoon/highlights.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 runtime/queries/hoon/highlights.scm (limited to 'runtime/queries') 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 -- cgit v1.2.3-70-g09d2