Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the documentation of how to install the vim plugin #1318

Merged
merged 2 commits into from
Apr 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ Configuration:
To install with [vim-plug](https://github.com/junegunn/vim-plug):

```
Plug 'psf/black'
Plug 'psf/black', { 'branch': 'stable' }
```

or with [Vundle](https://github.com/VundleVim/Vundle.vim):
Expand All @@ -747,8 +747,15 @@ or with [Vundle](https://github.com/VundleVim/Vundle.vim):
Plugin 'psf/black'
```

and execute the following in a terminal:

```console
$ cd ~/.ssh/bundle/black

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably be ~/.vim rather than ~/.ssh

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes, you're right. I've fixed it.

$ git checkout origin/stable -b stable
```

or you can copy the plugin from
[plugin/black.vim](https://github.com/psf/black/tree/master/plugin/black.vim).
[plugin/black.vim](https://github.com/psf/black/blob/stable/plugin/black.vim).

```
mkdir -p ~/.vim/pack/python/start/black/plugin
Expand Down