mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(leo): intentation fix of parenthesis
This commit is contained in:
parent
cfbc1c0e0f
commit
6935286b4e
1 changed files with 15 additions and 2 deletions
|
|
@ -21,6 +21,19 @@
|
|||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
((function_arguments) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
(parenthesized_expression
|
||||
")" @indent.branch)
|
||||
|
||||
(function_parameters
|
||||
")" @indent.branch)
|
||||
|
||||
(function_arguments
|
||||
")" @indent.branch)
|
||||
|
||||
(record_declaration
|
||||
"}" @indent.branch)
|
||||
|
||||
|
|
@ -31,10 +44,10 @@
|
|||
"}" @indent.branch)
|
||||
|
||||
(array_expression
|
||||
"}" @indent.branch)
|
||||
"]" @indent.branch)
|
||||
|
||||
(tuple_expression
|
||||
"}" @indent.branch)
|
||||
")" @indent.branch)
|
||||
|
||||
(items_block
|
||||
"}" @indent.branch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue