diff --git a/src/dfmt/formatter.d b/src/dfmt/formatter.d index c922c5f..86c3725 100644 --- a/src/dfmt/formatter.d +++ b/src/dfmt/formatter.d @@ -480,6 +480,8 @@ private: { if (config.dfmt_keep_line_breaks != OptionalBoolean.t) newline(); + else if (!currentIs(tok!".")) + newline(); justAddedExtraNewline = j; } else if (hasCurrent)