Skip to content

Markdown Formatting removes folded text at the end of the file when it removes empty lines #294

Description

@ModProg

BUG

This seams to only happen when in a heading level higher than the fold level in my case 2, The only other markdown plugin I have is plasticboy/vim-markdown which is responsible for the folding.

This issue does not exist for :PrettierCli. Therefor I am unsure if this is a vim-prettier or a vim-markdown issue.

Expected behavior

### test

Some Text

should result in

### test

Some Text

but produces

### test

PrettierVersion: 1.0.0-beta
PrettierCliVersion: 2.0.4
NVIM: 0.5.0-dev+1233-g82ac44d01

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