aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBradley Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-13 11:56:40 -0400
committerGitHub <noreply@github.com>2025-09-13 11:56:40 -0400
commit447f9378d701f752a321d6fc0fe1b10e1c2c6781 (patch)
tree0fdc0398e988387d879a226439f8c1d14b5953e5 /src
parent9839b47be3a43cd5b2cc058932921073c8d8d758 (diff)
parent404651ee41ba9b4d5d753f0869998df37d83e4d0 (diff)
Merge pull request #1007 from BradLewis/fix/assignment-long-lines
Make assignment and value decl behaviour the same with long lines
Diffstat (limited to 'src')
-rw-r--r--src/odin/printer/visit.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odin/printer/visit.odin b/src/odin/printer/visit.odin
index a3e8e83..882ba51 100644
--- a/src/odin/printer/visit.odin
+++ b/src/odin/printer/visit.odin
@@ -1127,7 +1127,7 @@ visit_stmt :: proc(
document = cons(document, nest_if_break(group(rhs), "assignments"))
document = group(document)
} else {
- document = group(cons_with_opl(assign_document, group(rhs)))
+ document = group(cons_with_nopl(assign_document, group(rhs)))
}
case ^Expr_Stmt:
document = cons(document, visit_expr(p, v.expr))