diff options
| -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" } } |
