Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/tql/indents.scm')
-rw-r--r--runtime/queries/tql/indents.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/queries/tql/indents.scm b/runtime/queries/tql/indents.scm
new file mode 100644
index 00000000..3d41fd51
--- /dev/null
+++ b/runtime/queries/tql/indents.scm
@@ -0,0 +1,16 @@
+;; Upstream: https://github.com/tenzir/tree-sitter-tql/blob/main/queries/tql/indents.scm
+
+[
+ (then_block)
+ (else_block)
+ (pipeline_block)
+ (match_statement)
+ (match_arm)
+ (list)
+ (record)
+] @indent
+
+[
+ "}"
+ "]"
+] @outdent