@@ -9,7 +9,7 @@ settings.
99
1010``` vim
1111Plug 'prettier/vim-prettier', {
12- \ 'do': 'yarn install',
12+ \ 'do': 'yarn install --frozen-lockfile --production ',
1313 \ 'branch': 'release/0.x'
1414 \ }
1515```
@@ -42,15 +42,15 @@ yarn|npm installed globally.
4242``` vim
4343" post install (yarn install | npm install) then load plugin only for editing supported files
4444Plug 'prettier/vim-prettier', {
45- \ 'do': 'yarn install',
45+ \ 'do': 'yarn install --frozen-lockfile --production ',
4646 \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'svelte', 'yaml', 'html'] }
4747```
4848
4949or simply enable for all formats by:
5050
5151``` vim
5252" post install (yarn install | npm install) then load plugin only for editing supported files
53- Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
53+ Plug 'prettier/vim-prettier', { 'do': 'yarn install --frozen-lockfile --production ' }
5454```
5555
5656For those using [ vim-pathogen] ( https://github.com/tpope/vim-pathogen ) , you can run the following in a terminal:
@@ -68,7 +68,7 @@ call dein#add('prettier/vim-prettier', {'build': 'npm install'})
6868
6969If using other vim plugin managers or doing manual setup make sure to have
7070` prettier ` installed globally or go to your vim-prettier directory and either do
71- ` npm install ` or ` yarn install `
71+ ` npm install ` or ` yarn install --frozen-lockfile `
7272
7373### Prettier Executable resolution
7474
0 commit comments