luau/Analysis
JohnnyMorganz 1173e415ef
Modify the way line breaks are added when printing unions/intersections (#1047)
Adds an option `compositeTypesSingleLineLimit` to control when
unions/intersections are broken up onto multiple lines when printed.
Simple unions/intersections will remain on one line. Default value is
set to `5`.

I took the liberty to always expand overloaded function intersections on
multiple lines, as I believe they are best viewed that way, even if
theres only 2 functions.

Closes #963
2023-10-12 09:09:47 -07:00
..
include/Luau Modify the way line breaks are added when printing unions/intersections (#1047) 2023-10-12 09:09:47 -07:00
src Modify the way line breaks are added when printing unions/intersections (#1047) 2023-10-12 09:09:47 -07:00