mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
951b454a33
Update julia parser to latest version, along with: - updating the queries, - pulling changes from `nvim-treesitter`’s queries (as the maintainters of the parser update the queries there), - reversing the queries’ order to be compatible with upstream.
41 lines
640 B
Scheme
41 lines
640 B
Scheme
[
|
|
(struct_definition)
|
|
(macro_definition)
|
|
(function_definition)
|
|
(compound_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)
|
|
] @indent
|
|
|
|
[
|
|
"end"
|
|
")"
|
|
"]"
|
|
"}"
|
|
] @outdent
|
|
|
|
(argument_list
|
|
. (_) @anchor
|
|
(#set! "scope" "tail")) @align
|
|
|
|
(parameter_list
|
|
. (_) @anchor
|
|
(#set! "scope" "tail")) @align
|
|
|
|
(curly_expression
|
|
. (_) @anchor
|
|
(#set! "scope" "tail")) @align
|