2

I just installed Black from:

Plugin 'ambv/black', {'rtp': 'vim'}

using Vundle.

I am not able to use the Black command without running PluginInstall.

Is this a bug?

The plugin is here

My .vimrc looks like this:

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'ambv/black', {'rtp': 'vim'}
call vundle#end() 
sureshvv
  • 4,234
  • 1
  • 26
  • 32

2 Answers2

2

after reading the Vundle documentation it seems you are missing some required lines in your .vimrc

but I think the main issue is that you are changing the rtp of black, removing that works with the following .vimrc

set nocompatible             "required
filetype off                 "required

set rtp+=~/.vim/bundle/Vundle.vim

call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'ambv/black'
call vundle#end()            " required

filetype plugin indent on    " required
Tyler Fowle
  • 549
  • 2
  • 13
1

For anybody who ran into this problem (including with other plugins), check your spelling. If the github username/repository pair contains a typo, then github will ask for a password.

Paul Wintz
  • 2,542
  • 1
  • 19
  • 33