gleam-lang / gleam

⭐️ A friendly language for building type-safe, scalable systems!
https://gleam.run
Apache License 2.0
17.42k stars 723 forks source link

Formatter doesn't break some lines longer than 80 characters #3377

Open tynanbe opened 2 months ago

tynanbe commented 2 months ago

The following function head (82 characters) could be wrapped, but currently (since before Gleam v1.3.0) the formatter keeps it all on one line.

fn do_menu_items(acc: Queue(MenuItem), from tasks: List(Task)) -> List(MenuItem) {
lpil commented 2 months ago

Thank you