aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/delombok/lombok/delombok/PrettyPrinter.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/delombok/lombok/delombok/PrettyPrinter.java b/src/delombok/lombok/delombok/PrettyPrinter.java
index 0b248c52..52cb1e42 100644
--- a/src/delombok/lombok/delombok/PrettyPrinter.java
+++ b/src/delombok/lombok/delombok/PrettyPrinter.java
@@ -372,6 +372,8 @@ public class PrettyPrinter extends JCTree.Visitor {
break;
}
+ if (onNewLine && !aligned && comment.start != StartConnection.START_OF_LINE) needsAlign = true;
+
print(comment.content);
switch (comment.end) {