nixfmt icon indicating copy to clipboard operation
nixfmt copied to clipboard

some lines not wrapped to specified width

Open CobaltCause opened this issue 4 months ago • 5 comments

Description

I want to use --width 80 but it seems to not actually matter what value I pass, in the below example, the output is always the input.

Small example input

{
  users.users.root.openssh.authorizedKeys.keyFiles = getAllOther "keyFiles" rootName;
}

Expected output

Should be formatted to wrap at 80 columns. I don't particularly care what exactly that would look like.

Actual output

The input is unmodified.

CobaltCause avatar Sep 28 '24 17:09 CobaltCause