diff --git a/src/dfmt.d b/src/dfmt.d index 7bd6b93..14a55d9 100644 --- a/src/dfmt.d +++ b/src/dfmt.d @@ -341,6 +341,8 @@ private: writeToken(); if (current.type != tok!"comment") newline(); + if (peekImplementation(tok!"class",0)) + newline(); break; case tok!"{": writeBraces();