From a1c41f6bee4218fbd2e91f2017b509f917d3362a Mon Sep 17 00:00:00 2001 From: mitermayer Date: Wed, 5 Feb 2020 11:19:35 +1100 Subject: Updating README information in regards to fallback to older versions - We now made `release/1.x` default branch and added message to users to enable them to fallback to older branch --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'README.md') 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 -- cgit v1.3