tnorbye / kdoc-formatter

Reformats Kotlin KDoc comments, reflowing text and other cleanup, both via IDE plugin and command line utility
Apache License 2.0
73 stars 2 forks source link

Dashed line indented (stability) #62

Closed davidtorosyan closed 2 years ago

davidtorosyan commented 2 years ago

Dashed line is pulled up, then indented

Before:

/**
 * Some summary.
 *
 * - Some bullet.
 *
 * ------------------------------------------------------------------------------
 *
 * Some paragraph.
 */
fun foo() = Unit

After:

/**
 * Some summary.
 * - Some bullet.
 * ------------------------------------------------------------------------------
 *
 * Some paragraph.
 */
fun foo() = Unit

After again:

/**
 * Some summary.
 * - Some bullet.
 *   ------------------------------------------------------------------------------
 *
 * Some paragraph.
 */
fun foo() = Unit

When using default options on v1.5.1.

tnorbye commented 2 years ago

This is fixed in 1.5.4 (released just now).