diff options
| author | mitermayer <mitermayer.reis@gmail.com> | 2017-09-14 11:07:09 -0700 |
|---|---|---|
| committer | mitermayer <mitermayer.reis@gmail.com> | 2017-09-14 11:10:24 -0700 |
| commit | 64756f28d3e6eec71e8591d0ada68ea6a0daf61f (patch) | |
| tree | 32962fcf039eb9ec73d7d5b07a69a53562de97c4 | |
| parent | 21faa2c2c7fd370f7d15d21391b4a9fa98047ed3 (diff) | |
| download | vim-prettier-64756f28d3e6eec71e8591d0ada68ea6a0daf61f.tar.xz | |
Adding note on required prettier version
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | doc/prettier.txt | 2 | ||||
| -rw-r--r-- | package.json | 2 |
3 files changed, 7 insertions, 1 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.  diff --git a/doc/prettier.txt b/doc/prettier.txt index dd81f0c..38fad26 100644 --- a/doc/prettier.txt +++ b/doc/prettier.txt @@ -14,6 +14,8 @@ INTRODUCTION *vim-prettier-introduction* 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. diff --git a/package.json b/package.json index 8912ebd..17af76d 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,6 @@ "url": "git://github.com/prettier/vim-prettier.git" }, "dependencies": { - "prettier": "^1.6.2" + "prettier": "^1.7.0" } } |
