feat(format): select_wrap and join_wrap with when_long via Doc-IR
This commit is contained in:
@@ -30,6 +30,8 @@ join_indent_size: 1 # Number of extra indent levels for JOINs
|
||||
|
||||
# always | when_long | never
|
||||
where_wrap: always # Each AND/OR condition on its own line (when_long: only if the clause exceeds line_width)
|
||||
select_wrap: always # always | when_long | never — one SELECT/RETURNING column per line
|
||||
join_wrap: never # always | when_long | never — ON (and AND/OR) on their own lines under the JOIN
|
||||
line_width: 120 # Target width for when_long wrapping; 0 = unlimited
|
||||
|
||||
where_and_or_indent: true # AND/OR indented one level under WHERE
|
||||
|
||||
Reference in New Issue
Block a user