aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormitermayer <mitermayer@gmail.com>2020-02-05 11:19:35 +1100
committermitermayer <mitermayer@gmail.com>2020-02-05 11:19:50 +1100
commita1c41f6bee4218fbd2e91f2017b509f917d3362a (patch)
treebf3a43526a4d85206ed12b126bd8fcd0dc01525d /README.md
parent49d91743b2df43f84edd199f877d494b4d8812f4 (diff)
downloadvim-prettier-a1c41f6bee4218fbd2e91f2017b509f917d3362a.tar.xz
Updating README information in regards to fallback to older versions1.0.0-alpha
- We now made `release/1.x` default branch and added message to users to enable them to fallback to older branch
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index f8c7253..dac585a 100644
--- a/README.md
+++ b/README.md
@@ -5,9 +5,14 @@ settings.
---
-**Note:** We are currently working towards a major release on branch `release/1.x`, while under development bugfixes will be applied to master branch and then ported back to `release/1.x` branch.
+**NOTE**: If you want to fallback to older version of prettier please add this to your `.vimrc`:
-If you have feature request and/or suggestions please comment on issue [1.0 release](https://github.com/prettier/vim-prettier/issues/126)
+```vim
+Plug 'prettier/vim-prettier', {
+ \ 'do': 'yarn install',
+ \ 'branch': 'release/0.x'
+}
+```
---
@@ -15,7 +20,7 @@ By default it will auto format **javascript**, **typescript**, **less**,
**scss**, **css**, **json**, **graphql** and **markdown** files if they
have/support the "@format" pragma annotation in the header of the file.
-![vim-prettier](/media/vim-prettier.gif?raw=true "vim-prettier")
+![vim-prettier](/media/vim-prettier.gif?raw=true 'vim-prettier')
### INSTALL
@@ -133,7 +138,7 @@ Enable auto formatting of files that have "@format" or "@prettier" tag
let g:prettier#autoformat = 1
```
-Toggle the `g:prettier#autoformat` setting based on whether a config file can be found in the current directory or any parent directory. Note that this will override the `g:prettier#autoformat` setting!
+Toggle the `g:prettier#autoformat` setting based on whether a config file can be found in the current directory or any parent directory. Note that this will override the `g:prettier#autoformat` setting!
```vim
let g:prettier#autoformat_config_present = 1