summaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorClara Hobbs2023-03-31 01:32:36 +0000
committerGitHub2023-03-31 01:32:36 +0000
commitd284444eb402d76090ef0743d21fa51b9eee058d (patch)
tree88ad99d8129f2777b6be2c1da7030797e2480aee /runtime/queries
parentfc9229c8468d408c427281c093b703bbf1db352f (diff)
Add indents.scm for Julia (#6490)
* Add indents.scm for Julia * Update documentation for new indent support
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/julia/indents.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/queries/julia/indents.scm b/runtime/queries/julia/indents.scm
new file mode 100644
index 00000000..08f55aa7
--- /dev/null
+++ b/runtime/queries/julia/indents.scm
@@ -0,0 +1,16 @@
+[
+ (struct_definition)
+ (macro_definition)
+ (function_definition)
+ (compound_expression)
+ (let_statement)
+ (if_statement)
+ (for_statement)
+ (while_statement)
+ (do_clause)
+ (parameter_list)
+] @indent
+
+[
+ "end"
+] @outdent