Skip to content
New issue

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

Shore/master rebasing #196

Merged
merged 63 commits into from
Aug 26, 2019
Merged

Shore/master rebasing #196

merged 63 commits into from
Aug 26, 2019

Conversation

mitermayer
Copy link
Member

Before submitting a pull request, please make sure the following is done...

  1. Fork the repo and create your branch from master.
  2. If you've added code that should be tested, do a sanity check on vim8 and neovim
  3. If you've changed APIs, update the README and documentation ./doc/prettier.txt

Please use the simple form below as a guideline for describing your pull request.

Thanks for contributing to vim-prettier


Summary

[...]

Test Plan

[...]

jason0x43 and others added 30 commits November 19, 2018 22:50
Wrap the path used for `stdin-filepath` in quotes.

references #108
Per Prettier's [Blog
Post](https://prettier.io/blog/2018/11/07/1.15.0.html) there is an option for prettiers
sensitivity to html whitespace. See blog post for more details.

This adds that option to vim-prettier and sets the default to the
prettier default.
Fix markdown mangling issue
Add option for html whitespace sensitivity
Make markdown check more resilient
Ignore generated help tags file
Added some file extensions
improve Requirement's message clearness
This is one approach for handling default prettier arguments.

It is a little verbose, but I think ejecting the flags that don't have
to be set by the editor (in favor of .prettierrc files) is a win.
- This is the first commit on refactoring methods outs on self contained
components, this will help on unit testing and maintainability
- Refactoring parser out into its own module in order to make it easier
to test
- Refactoring the executable resolver into its own module for making it
easier to test
- Movingthe shiftwidth compat helper to a shim module responsible for
dealing with backwards compatiblity
- prefer-file setting for config-precedence is what allow us to leverage
from user defined configuration files like .prettierrc
mitermayer and others added 25 commits August 25, 2019 21:11
- adding facebook presets as a configurable option to overwrite prettier
defaults
- Making sure we do not try to format a file again until execution is
finally finished
If user have custom file type plugin that set "parser" option, calling
 ":Prettier" will return error "Prettier: failed to parse buffer".

This was caused by running prettier with CLI option "--parser X" with
"--config-precedence prefer_file" will cause prettier to ignore the
"parser" option.

Fix #178
- the new version of prettier ruby has support for older node versions
@mitermayer mitermayer closed this Aug 26, 2019
@mitermayer mitermayer deleted the shore/master-rebasing branch August 26, 2019 04:18
@mitermayer mitermayer reopened this Aug 26, 2019
@mitermayer mitermayer merged commit e5d7587 into release/1.x Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.