mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
Fix indent. of curly expressions and of ],} in BOL (#5580)
This commit is contained in:
parent
1e58a81450
commit
a07ce2155b
1 changed files with 5 additions and 0 deletions
|
|
@ -22,16 +22,21 @@
|
||||||
(comprehension_expression)
|
(comprehension_expression)
|
||||||
(matrix_expression)
|
(matrix_expression)
|
||||||
(vector_expression)
|
(vector_expression)
|
||||||
|
(curly_expression)
|
||||||
] @indent.begin
|
] @indent.begin
|
||||||
|
|
||||||
[
|
[
|
||||||
"end"
|
"end"
|
||||||
|
")"
|
||||||
|
"]"
|
||||||
|
"}"
|
||||||
] @indent.end
|
] @indent.end
|
||||||
|
|
||||||
[
|
[
|
||||||
"end"
|
"end"
|
||||||
")"
|
")"
|
||||||
"]"
|
"]"
|
||||||
|
"}"
|
||||||
(else_clause)
|
(else_clause)
|
||||||
(elseif_clause)
|
(elseif_clause)
|
||||||
(catch_clause)
|
(catch_clause)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue