Skip to content

Autoformat not working on save #191

Description

@jrock2004

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

What is the current/expected behavior?
Just installed the plugin and when I save the file, nothing changes. If I do :Prettier it then formats my document. I ran echo g:prettier#autoformat and it returns a 1

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.18.2

What is your prettier executable path - (output of :PrettierCliPath) ?
/Users/jcostanzo/.dotfiles/config/nvim/plugged/vim-prettier/node_modules/.bin/prettier

Did this work in previous versions of vim-prettier and/or prettier ?
This is my first time using this so its unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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