cli
cli copied to clipboard
Option in `cli_vec()` to always show the start and end of a collapsed vector
This seems more informative:
i Locations 100, 101, 102, ..., 109, and 110 don't exist, there are only 26 elements.
Than:
i Locations 100, 101, 102, 103, 104, ... don't exist, there are only 26 elements.
According to https://english.stackexchange.com/questions/166120/when-using-ellipsis-to-omit-list-items-is-a-comma-required-after-the-last-item, a comma after ...
will be needed in this case.
Possibly showing the last two elements is enough in general? Or maybe the number of leading and trailing elements should be balanced.