Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/julia/indents.scm')
-rw-r--r--runtime/queries/julia/indents.scm30
1 files changed, 3 insertions, 27 deletions
diff --git a/runtime/queries/julia/indents.scm b/runtime/queries/julia/indents.scm
index d7320177..08f55aa7 100644
--- a/runtime/queries/julia/indents.scm
+++ b/runtime/queries/julia/indents.scm
@@ -2,39 +2,15 @@
(struct_definition)
(macro_definition)
(function_definition)
- (compound_statement)
+ (compound_expression)
+ (let_statement)
(if_statement)
- (try_statement)
(for_statement)
(while_statement)
- (let_statement)
- (quote_statement)
(do_clause)
- (assignment)
- (for_binding)
- (call_expression)
- (parenthesized_expression)
- (tuple_expression)
- (comprehension_expression)
- (matrix_expression)
- (vector_expression)
+ (parameter_list)
] @indent
[
"end"
- ")"
- "]"
- "}"
] @outdent
-
-(argument_list
- . (_) @anchor
- (#set! "scope" "tail")) @align
-
-(parameter_list
- . (_) @anchor
- (#set! "scope" "tail")) @align
-
-(curly_expression
- . (_) @anchor
- (#set! "scope" "tail")) @align