• GNU/Dhruv@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    It goes on the next line, so you can have open and close brackets at the same indent depth for easy visual matching.

    • Steeve@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Your closing } goes on a new line below at the same indent depth as the line containing the open {!

    • TheInsane42@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      This, as it also helps when using % to go to the matching open/close bracket when the cursos doesn’t jump all around the place…