uiua-lang/uiua

Formatter indents half-inlined functions one level too much

Closed this issue · 3 comments

The snippet

f ← (
  ⍜(⊡1)(
    ×
    2
  )
)

Gets formatted like this:

Screenshot 2023-10-10 at 13 09 50

The half-inlining is a matter of taste, though I personally don't like it, but the double indent just feels very strange.

Should be fixed in 973c06c

Jup, looks great now! You might have forgotten to remove the dbg! in that commit :)

Yep, removed in f3cd138