Skip to content

Commit

Permalink
Merge pull request #4 from psf/master
Browse files Browse the repository at this point in the history
Fixing the documentation of how to install the vim plugin (#1318)
  • Loading branch information
harenbrs committed Apr 24, 2020
2 parents 70297d5 + 8126b4f commit 7d7b7d6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Expand Up @@ -749,7 +749,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 @@ -758,8 +758,15 @@ or with [Vundle](https://github.com/VundleVim/Vundle.vim):
Plugin 'psf/black'
```

and execute the following in a terminal:

```console
$ cd ~/.vim/bundle/black
$ 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

0 comments on commit 7d7b7d6

Please sign in to comment.