aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/hare/indents.scm
diff options
context:
space:
mode:
authormeak2022-04-26 19:55:00 +0000
committerGitHub2022-04-26 19:55:00 +0000
commit1a3d6252b9d1a411df8ea27ee04960f599c35a6b (patch)
tree7bd68b9ac417a997d47141fbd64eca3211dac40e /runtime/queries/hare/indents.scm
parent773736b03a176159240bcef3162732d538917331 (diff)
feat(lang): add hare language support (#2289)
Co-authored-by: Mehdi Katranji <hello@mek.yt>
Diffstat (limited to 'runtime/queries/hare/indents.scm')
-rw-r--r--runtime/queries/hare/indents.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/runtime/queries/hare/indents.scm b/runtime/queries/hare/indents.scm
new file mode 100644
index 00000000..a2e83c00
--- /dev/null
+++ b/runtime/queries/hare/indents.scm
@@ -0,0 +1,21 @@
+[
+ (struct_union_fields)
+ (expression_list)
+] @indent
+
+[
+ "case"
+ "}"
+ "]"
+ ")"
+] @outdent
+
+; [
+; "{"
+; "}"
+; ] @branch
+
+; [
+; (comment)
+; ] @ignore
+