Skip to content

Commit ce8a9fc

Browse files
TimDaubfvictorio
andauthored
vim-plug plugin dir changed (#537)
* vim-plug plugin dir changed vim-plug now uses `plugged` as plugin directory name * Update README.md Co-authored-by: Franco Victorio <[email protected]>
1 parent c657cd4 commit ce8a9fc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ instructions assume you are using [`vim-plug`](https://github.com/junegunn/vim-p
6161
```vim
6262
Plug '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

8483
We 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

9190
To check that everything is working, open a solidity file and run `:Prettier`.

0 commit comments

Comments
 (0)