Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration bug: vim-prettier removes text #665

Open
artkpv opened this issue Nov 6, 2024 · 0 comments
Open

Integration bug: vim-prettier removes text #665

artkpv opened this issue Nov 6, 2024 · 0 comments

Comments

@artkpv
Copy link

artkpv commented Nov 6, 2024

Thank you for the tool and your work!

When I run this tool, https://github.com/prettier/vim-prettier, :Prettier on a file like:

# My title

Lorem ipsum

*****

Text after line. 

Some links like [link](link.com).

It removes all the text after the horizontal line, "*****".

Expected: no removal of text, and the formatting is made by the prettier tool.

Note. When I run just prettier from CLI it preserves the text. When I uninstall vim-markdown plugin and run :Prettier it preserves the text.

Version: 8f6cb3a

Notes. I think it has something to do with that Prettier inserts there '-----' which are treated as headers by my folding,i.e. I see folding functionality though accordingly to CommonMark standard those should not be headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant