mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -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.open_delimiter "(")
|
||||||
(#set! indent.close_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
|
(record_declaration
|
||||||
"}" @indent.branch)
|
"}" @indent.branch)
|
||||||
|
|
||||||
|
|
@ -31,10 +44,10 @@
|
||||||
"}" @indent.branch)
|
"}" @indent.branch)
|
||||||
|
|
||||||
(array_expression
|
(array_expression
|
||||||
"}" @indent.branch)
|
"]" @indent.branch)
|
||||||
|
|
||||||
(tuple_expression
|
(tuple_expression
|
||||||
"}" @indent.branch)
|
")" @indent.branch)
|
||||||
|
|
||||||
(items_block
|
(items_block
|
||||||
"}" @indent.branch)
|
"}" @indent.branch)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue