aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/bash
diff options
context:
space:
mode:
authorgavincrawford2022-12-14 14:42:11 +0000
committerGitHub2022-12-14 14:42:11 +0000
commit012fc12f97f4e8e0fc38af351388e41e8bc142d8 (patch)
tree0879e3cda9a5a4f802c1014f4864b45506698d33 /runtime/queries/bash
parent436296b76c671446aab8863b467155ff9e94d4fc (diff)
Add Bash indents (#5149)
Diffstat (limited to 'runtime/queries/bash')
-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