vim-prettier icon indicating copy to clipboard operation
vim-prettier copied to clipboard

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

Open ModProg opened this issue 4 years ago • 0 comments

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

ModProg avatar Apr 25 '21 12:04 ModProg