Update vim plugin manual installation instructions. (#2235)
This commit is contained in:
parent
403ce1a18a
commit
9704922cf9
@ -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_
|
||||
|
||||
|
@ -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://raw.githubusercontent.com/psf/black/stable/plugin/black.vim -o ~/.vim/pack/python/start/black/plugin/black.vim
|
||||
curl https://raw.githubusercontent.com/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
|
||||
|
Loading…
Reference in New Issue
Block a user