Add Julia indent queries

This commit is contained in:
Sergio Alejandro Vargas 2021-06-14 15:46:13 -05:00 committed by Stephan Seitz
parent c37e79803e
commit 6ec7516d3d

40
queries/julia/indents.scm Normal file
View file

@ -0,0 +1,40 @@
[
(struct_definition)
(macro_definition)
(function_definition)
(if_statement)
(try_statement)
(for_statement)
(while_statement)
(let_statement)
(quote_statement)
(do_clause)
(compound_expression)
(assignment_expression)
(binary_expression)
(call_expression)
(array_expression)
(tuple_expression)
(matrix_expression)
] @indent
[
"end"
"("
")"
"["
"]"
(else_clause)
(elseif_clause)
] @branch
[
(comment)
(block_comment)
(triple_string)
] @ignore