We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do you want to request a feature or report a bug?
This is a bug report.
What is the current/expected behavior?
I'm running into an issue where if I have
let g:prettier#autoformat_config_present = 1
in my .vimrc, vim-prettier will trigger on write, but fail with Prettier: failed to parse buffer.
.vimrc
vim-prettier
Prettier: failed to parse buffer
If I simply issue the :Prettier command, it works as expected and formats the file.
:Prettier
The expected behavior is for formatting to be performed without errors on :w
:w
What version of vim-prettier are you using - (output of :PrettierVersion) ?
:PrettierVersion
1.0.0-beta
What version of prettier are you using - (output of :PrettierCliVersion) ?
prettier
:PrettierCliVersion
2.0.2
What is your prettier executable path - (output of :PrettierCliPath) ?
:PrettierCliPath
/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Not sure, first time using it.
The text was updated successfully, but these errors were encountered:
After a bit of digging around, I find that :PrettierAsync is not working either throwing the same error.
:PrettierAsync
Sorry, something went wrong.
did you find a solution? thanks
Sadly, no.
I fixed this by using coc-prettier which is compatible with the ruby plugin
No branches or pull requests
Do you want to request a feature or report a bug?
This is a bug report.
What is the current/expected behavior?
I'm running into an issue where if I have
in my
.vimrc
,vim-prettier
will trigger on write, but fail withPrettier: failed to parse buffer
.If I simply issue the
:Prettier
command, it works as expected and formats the file.The expected behavior is for formatting to be performed without errors on
:w
What version of
vim-prettier
are you using - (output of:PrettierVersion
) ?1.0.0-beta
What version of
prettier
are you using - (output of:PrettierCliVersion
) ?2.0.2
What is your
prettier
executable path - (output of:PrettierCliPath
) ?/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Not sure, first time using it.
The text was updated successfully, but these errors were encountered: