Skip to content

Running Prettier wipes out all existing marks #251

Description

@gabesoft

Do you want to request a feature or report a bug?
Report a bug

What is the current/expected behavior?
After running Prettier all user created marks in the current buffer are deleted

What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-alpha

What version of prettier are you using - (output of :PrettierCliVersion) ?
2.0.5

What is your prettier executable path - (output of :PrettierCliPath) ?
Absolute path to the project's node_modules/.bin/prettier

Did this work in previous versions of vim-prettier and/or prettier ?
Haven't tested

So to reproduce:

  1. add a mark via ma
  2. run Prettier (ensure this resulted in some changes)
  3. trying to go to the mark via 'a does not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions