[
  (function_definition)
  (while_statement)
  (for_statement)
  (if_statement)
  (begin_statement)
  (switch_statement)
] @indent

[
  "end"
] @outdent