Skip to content

Odd formatting choice for multiline functions' closing parenthesis #636

Open
@goodspark

Description

@goodspark

If I create a jsonnet file with:

local asd(
  x=1
) = {
  hello: x,
};
asd(x=4)

It gets auto-formatted to:

local asd(
  x=1
      ) = {
  hello: x,
};
asd(x=4)

Which is really weird.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions