Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

Wrong indentation for Groovy closures with a return statement #3276

@jochenberger

Description

@jochenberger

The Groovy mode produces the following indentation

list.each {
  return
    }

If I add a semicolon, the indentation is correct:

list.each {
  return;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions