Closed uhthomas closed 3 years ago
Likely related/identical to https://github.com/cuelang/cue/issues/1006
Looks like it's actually even more common than I had first thought. Take this snippet:
// Some comment
some_long_key: "some_value"
Formatting results in
// Some comment
some_long_key: "some_value"
Is this a regression? I don't remember seeing such behavior before.
This issue has been migrated to https://github.com/cue-lang/cue/issues/1018.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes.
What did you do?
Format the following CUE source:
What did you expect to see?
No change -- having
scope
positioned like that is weird for sure though. This is because of https://github.com/cuelang/cue/issues/826What did you see instead?