Skip to content

[Feature Request] Allow a single blank line before ending list #169

Description

@josswright

I don't think that bullets.vim already supports this, so apologies if I've missed an option.

I quite often like to format lists like this:

- top level list item
  - lower level list
  - another lower item

- next top level item
  - lower item again
  - another lower item

I find the blank line between the top level list items helpful to avoid walls of text.

I've had a play with the various delete_last_bullet_if_empty, and similar options, but I can't seem to find a hack to let me insert one blank line, then continue with a bullet point on the next line.

My ideal scenario would be something like "blank_lines_before_end=", with a default of 0. If set to 1 then a single empty bullet point will be deleted, but a new bullet point created on the subsequent line. If that is left empty, the list ends. (If set to 2 then it might allow two empty lines before ending the list, but I wouldn't really want more than one.)

Not sure if this will interfere with other handling, or break some kind of markdown specification, but it's a very common usage for me!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions