       end
 
     args = if keyword?, do: left ++ right, else: left ++ [right]
-    many_eol? = match?([_, _ | _], args) and Keyword.get(meta, :eol, false)
+    many_eol? = match?([_, _ | _], args) and eol?(meta)
     no_generators? = no_generators?(args)
     to_algebra_fun = &quoted_to_algebra(&1, context, &2)
 

  ## Literals

  defp list_to_algebra(meta, args, state) do
    join = if Keyword.get(meta, :eol, false), do: :line, else: :break
    fun = &quoted_to_algebra(&1, :parens_arg, &2)

    {args_doc, _join, state} =

  end

  defp eol_or_comments?(meta, %{comments: comments}) do
    eol?(meta) or
      (
        min_line = line(meta)
        max_line = end_line(meta)
