feat: improve indent module

get_node_at_line should return appropriate child if available
This commit is contained in:
Munif Tanjim 2022-01-17 04:44:01 +06:00 committed by Christian Clason
parent f048886f82
commit baf94219aa
5 changed files with 38 additions and 11 deletions

View file

@ -13,18 +13,21 @@
(arguments)
] @indent
@ignore
[
"do"
"end"
"then"
"until"
"{"
"}"
"("
")"
"then"
(else_statement)
"elseif"
(elseif_statement)
"else"
(else_statement)
] @branch
(comment) @ignore
(string) @ignore