From: Matthew Clapp Date: Sun, 16 May 2021 16:10:59 +0000 (-0700) Subject: Update vim plugin manual installation instructions. (#2235) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/9704922cf92c8f4b26a5efc6ddfdbd42064eae5f Update vim plugin manual installation instructions. (#2235) --- diff --git a/CHANGES.md b/CHANGES.md index 85936e8..1a38bf6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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_ diff --git a/docs/integrations/editors.md b/docs/integrations/editors.md index 88176e1..dd09b4d 100644 --- a/docs/integrations/editors.md +++ b/docs/integrations/editors.md @@ -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