diff options
| author | Mitermayer Reis <mitermayer.reis@gmail.com> | 2017-09-14 11:15:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-14 11:15:11 -0700 |
| commit | e5dd1fed0dc69f8fbc67e43268f07203ed321056 (patch) | |
| tree | 32962fcf039eb9ec73d7d5b07a69a53562de97c4 /README.md | |
| parent | f0ce2b93bc9668be6c8cf863525100f07fcd8b52 (diff) | |
| parent | 64756f28d3e6eec71e8591d0ada68ea6a0daf61f (diff) | |
| download | vim-prettier-0.1.0.tar.xz | |
Merge pull request #52 from prettier/issue/51-adding-support-for-prettier-1.60.1.0
Issue/51 adding support for prettier 1.7
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,6 +2,10 @@ A vim plugin wrapper for prettier, pre-configured with custom default prettier settings. +**Note:** requires `prettier` version 1.7.0+ + +*** + By default it will auto format **javascript**, **typescript**, **less**, **scss**, **css**, **json**, and **graphql** files that have "@format" annotation in the header of the file.  @@ -133,6 +137,9 @@ g:prettier#config#trailing_comma = 'all' " flow|babylon|typescript|postcss|json|graphql g:prettier#config#parser = 'flow' + +" cli-override|file-override|prefer-file +g:prettier#config#config_precedence = 'prefer-file' ``` ### REQUIREMENT(S) |
