You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I meant that you should put // dfmt off before the opening braces and //dfmt on after the closing braces. If you enable formatting like this the formatter will try to match the indent level of the closing braces with the opening braces that you told it to ignore.
I'm using end-of-line comments to prevent dfmt from joining lines. This causes some weird results when combined with anonymous functions:
Starting from
qux()
, all lines are one indentation less than what they should be:qux
has same indentation asbaz
})
of thebaz
invocation has the same indentation as thebar
declaration}
of thebar
declaration has the same indentation as thefoo
declaration}
of thefoo
declaration has correct indentation - but that's only because you can't indent less...The text was updated successfully, but these errors were encountered: