X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7e4c6bf71fffc36ead970afde46a726144515e87..1d3fb871bec82d1263940ba1d32095d660fea2ab:/README.md diff --git a/README.md b/README.md index 1d62a2c..4d7f5fd 100644 --- a/README.md +++ b/README.md @@ -738,7 +738,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): @@ -747,8 +747,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