aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/bash/indents.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/queries/bash/indents.scm b/runtime/queries/bash/indents.scm
new file mode 100644
index 00000000..f2077037
--- /dev/null
+++ b/runtime/queries/bash/indents.scm
@@ -0,0 +1,11 @@
+[
+ (function_definition)
+ (if_statement)
+ (for_statement)
+ (case_statement)
+ (pipeline)
+] @indent
+
+[
+ "}"
+] @outdent