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

enh: save buffer marks between runs #300

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

rodrigolive
Copy link
Contributor

Summary

Fix marks buffer marks being lost after Prettier runs.

Fixes this issue #251

Test Plan

  • add a mark with ma, move around, jump to it with 'a
  • "uglify" a line in your code, run :Prettier to fix it
  • now do 'a, vim should jump the cursor to the marked position with ma. The line might not correspond exactly with the previous line due to lines changed by Prettier, but it should be close.

@mitermayer mitermayer merged commit aa0607c into prettier:master Jun 3, 2021
@mitermayer
Copy link
Member

Thank you

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

Successfully merging this pull request may close these issues.

2 participants