[
  (method_expression)
  (function_expression)
  (array_literal)
  (dictionary_literal)
  (selection_statement)
  (iteration_statement)
] @indent

[
  ")"
  "]"
  "}"
  "endif"
  "endforeach"
] @outdent