Skip to content

Prettier: failed to parse buffer.  #147

@yshuman1

Description

@yshuman1

Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
should format file, instead gives error "Prettier: failed to parse buffer."
it does work if i just use :Prettier

What version of vim-prettier are you using - (output of :PrettierVersion) ?
0.2.7
What version of prettier are you using - (output of :PrettierCliVersion) ?
1.14.0
What is your prettier executable path - (output of :PrettierCliPath) ?
prettier
Did this work in previous versions of vim-prettier and/or prettier ?
yes, im not sure why its not working anymore.

here is my .vimrc just in case it helps. I am using macos version 10.13.6

https://gist.github.com/yshuman1/88902bbd6ff4341b9e619a935ce63d62

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