Fix a bug in the newline logic
This commit is contained in:
parent
69bd684b44
commit
f37f2b4622
|
@ -480,6 +480,8 @@ private:
|
||||||
{
|
{
|
||||||
if (config.dfmt_keep_line_breaks != OptionalBoolean.t)
|
if (config.dfmt_keep_line_breaks != OptionalBoolean.t)
|
||||||
newline();
|
newline();
|
||||||
|
else if (!currentIs(tok!"."))
|
||||||
|
newline();
|
||||||
justAddedExtraNewline = j;
|
justAddedExtraNewline = j;
|
||||||
}
|
}
|
||||||
else if (hasCurrent)
|
else if (hasCurrent)
|
||||||
|
|
Loading…
Reference in New Issue