mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
Improve indentation in Julia language
This commit improves the indentation in the function declaration, function call, and in the assignment expressions.
This commit is contained in:
parent
bf0a96568a
commit
639c22c52c
1 changed files with 8 additions and 1 deletions
|
|
@ -15,8 +15,8 @@
|
|||
(assignment)
|
||||
(for_binding)
|
||||
|
||||
(binary_expression)
|
||||
(call_expression)
|
||||
(parenthesized_expression)
|
||||
|
||||
(tuple_expression)
|
||||
(comprehension_expression)
|
||||
|
|
@ -48,3 +48,10 @@
|
|||
(block_comment)
|
||||
] @indent.ignore
|
||||
|
||||
((argument_list) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
((parameter_list) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue