Update vim plugin manual installation instructions. (#2235)

This commit is contained in:
Matthew Clapp 2021-05-16 09:10:59 -07:00 committed by GitHub
parent 403ce1a18a
commit 9704922cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -146,12 +146,15 @@ $ cd ~/.vim/bundle/black
$ git checkout origin/stable -b stable $ git checkout origin/stable -b stable
``` ```
or you can copy the plugin from or you can copy the plugin files from
[plugin/black.vim](https://github.com/psf/black/blob/stable/plugin/black.vim). [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/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/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 Let me know if this requires any changes to work with Vim 8's builtin `packadd`, or