vim-python-pep8-indent
vim-python-pep8-indent copied to clipboard
Using Vim native plugin manager
Hello, I'm struggling to install the plugin using the native Vim plugin manager, which seems to expect a structure like:
start
--- config
--- plugin
--- xxx.vim
and since in the structure of this project there's no plugin directory the package manager doesn't work.
Does anyone know if I'm doing something wrong, and how to install the package with the Vim native package manager?
EDIT: I was able to enable the plugin by manually injecting a plugin directory, in which I put the python.vim file.
@vidakDK Do you have have filetype indent on or filetype plugin indent on in your vimrc? You need that in order for vim to look for filetype.vim files in the indent/ directory (:h 30.3 has more info). You shouldn't manually create a plugin/ directory, because files in that directory are executed on every file (not just when &filetype == python).