Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

attrsets as function arguments do not get properly indented #323

Open
ursi opened this issue Jan 27, 2024 · 0 comments
Open

attrsets as function arguments do not get properly indented #323

ursi opened this issue Jan 27, 2024 · 0 comments
Labels
formatting Issue with the output format needs triage

Comments

@ursi
Copy link

ursi commented Jan 27, 2024

attrsets as function arguments do not get properly indented unless they're surrounded in parentheses.

Input

function
  {
    a = 1;
  }
  ({
    a = 1;
  })

Output

function
{
  a = 1;
}
  ({
    a = 1;
  })

Desired output

function
  {
    a = 1;
  }
  ({
    a = 1;
  })
@ursi ursi added formatting Issue with the output format needs triage labels Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
formatting Issue with the output format needs triage
Projects
None yet
Development

No branches or pull requests

1 participant