aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-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