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?
A bug
What is the current/expected behavior?
Folds should remain well placed
What version of vim-prettier are you using - (output of :PrettierVersion) ?
vim-prettier
:PrettierVersion
1.0.0-beta, commit 37600923a25dded35bbf74c3f682d9807ef0b0ce
37600923a25dded35bbf74c3f682d9807ef0b0ce
What version of prettier are you using - (output of :PrettierCliVersion) ?
prettier
:PrettierCliVersion
2.3.0
What is your prettier executable path - (output of :PrettierCliPath) ?
:PrettierCliPath
prettier (actually ~/.nvm/versions/node/v16.1.0/bin/prettier)
~/.nvm/versions/node/v16.1.0/bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Don't know
When saving a file whose formatting is already correct, folds are moved one line below.
Before:
After:
If the file is not properly formatted, then it gets auto-formatted and folds are keps at their right place.
JS folding is configured this way:
let javaScript_fold=1 set foldmethod=syntax
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Do you want to request a feature or report a bug?
A bug
What is the current/expected behavior?
Folds should remain well placed
What version of
vim-prettier
are you using - (output of:PrettierVersion
) ?1.0.0-beta, commit
37600923a25dded35bbf74c3f682d9807ef0b0ce
What version of
prettier
are you using - (output of:PrettierCliVersion
) ?2.3.0
What is your
prettier
executable path - (output of:PrettierCliPath
) ?prettier (actually
~/.nvm/versions/node/v16.1.0/bin/prettier
)Did this work in previous versions of vim-prettier and/or prettier ?
Don't know
When saving a file whose formatting is already correct, folds are moved one line below.
Before:
After:
If the file is not properly formatted, then it gets auto-formatted and folds are keps at their right place.
JS folding is configured this way:
The text was updated successfully, but these errors were encountered: