File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ instructions assume you are using [`vim-plug`](https://github.com/junegunn/vim-p
6161``` vim
6262Plug 'prettier/vim-prettier', {
6363 \ 'do': 'yarn install && yarn add prettier-plugin-solidity',
64- \ 'branch': 'release/1.x',
6564 \ 'for': [
6665 \ 'javascript',
6766 \ 'typescript',
@@ -82,10 +81,10 @@ Plug 'prettier/vim-prettier', {
8281```
8382
8483We modified the ` do ` instruction to also install this plugin. Then you'll have to configure the plugin to always use the
85- version installed in the vim plugin's directory:
84+ version installed in the vim plugin's directory. The vim-plug directory depends on value you use in ` call plug#begin('~/.vim/<dir>') ` :
8685
8786``` vim
88- let g:prettier#exec_cmd_path = '~/.vim/bundle /vim-prettier/node_modules/.bin/prettier'
87+ let g:prettier#exec_cmd_path = '~/.vim/plugged /vim-prettier/node_modules/.bin/prettier'
8988```
9089
9190To check that everything is working, open a solidity file and run ` :Prettier ` .
You can’t perform that action at this time.
0 commit comments