[
  (function_definition)
  (if_statement)
  (for_statement)
  (while_statement)
  (case_statement)
  (pipeline)
] @indent

[
  "}"
] @outdent