Open jw3126 opened 2 months ago
julia> format_text(str_, short_to_long_function_def=true, margin=10) |> print
"docstring"
function f()
(
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
)
end
seems it's fixed in the rewrite to JuliaSyntax. I'll merge that PR sometime this week.
It seems short function defs that have a docstring are never expanded: