Yacin Tmimi 5f4811ed7b Handle DefinitiveListTactic::SpecialMacro when writing pre-comments
Resolves 4615

Previously only Vertical and Mixed enum variants of DefinitiveListTactic
were considered when rewriting pre-comments for inner items in
lists::write_list.

Because we failed to considering the SpecialMacro variant we ended up in
a scenario where a ListItem with a pre_comment and a pre_comment_style
of ListItemCommentStyle::DifferentLine was written on the same line as the
list item itself.

Now we apply the same pre-comment formatting to SpecialMacro, Vertical,
and Mixed variants of DefinitiveListTactic.
2021-10-17 16:27:05 -05:00
..
2021-07-27 19:50:11 -05:00
2020-11-28 17:41:21 -06:00
2021-01-09 12:11:52 -06:00
2021-09-02 20:53:15 -05:00
2021-09-02 20:53:15 -05:00
2021-09-06 18:14:13 -05:00
2021-01-28 22:01:50 -06:00
2021-09-02 20:53:15 -05:00
2020-11-29 13:26:58 -06:00
2020-11-29 13:26:58 -06:00
2021-01-27 20:58:42 -06:00
2020-11-30 23:24:36 -06:00
2020-12-20 12:05:05 -06:00