helix-mods/runtime/queries/lua/indents.scm

25 lines
337 B
Scheme
Raw Normal View History

2022-03-30 17:08:07 +02:00
[
(function_definition)
(variable_declaration)
(local_variable_declaration)
(field)
(local_function)
(function)
(if_statement)
(for_statement)
(for_in_statement)
(repeat_statement)
(return_statement)
(while_statement)
(table)
(arguments)
(do_statement)
] @indent
[
"end"
"until"
"}"
")"
] @outdent