; Indent after blocks and control flow
[
  (method)
  (class)
  (module)
  (if)
  (unless)
  (case)
  (when)
  (while)
  (until)
  (for)
  (do_block)
  (begin)
] @indent

; Dedent on end keyword
[
  "end"
] @dedent
