mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 07:20:06 -04:00
Improve curly expression alignment
This commit is contained in:
parent
3d6c0af936
commit
a741b5dd0d
2 changed files with 19 additions and 1 deletions
|
|
@ -22,7 +22,6 @@
|
|||
(comprehension_expression)
|
||||
(matrix_expression)
|
||||
(vector_expression)
|
||||
(curly_expression)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
|
|
@ -55,3 +54,7 @@
|
|||
((parameter_list) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
((curly_expression) @indent.align
|
||||
(#set! indent.open_delimiter "{")
|
||||
(#set! indent.close_delimiter "}"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue