VundleVim / Vundle.vim

Vundle, the plug-in manager for Vim
http://github.com/VundleVim/Vundle.Vim
MIT License
23.93k stars 2.57k forks source link

Opening new files via nerdTree gives name collision errors for plugins added in ftplugin file #724

Open CodingJonas opened 8 years ago

CodingJonas commented 8 years ago

I started creating type specific settings for gvim in the .vim/after/ftplugin directory. This works fine, but everytime I change to another file via nerdTree, I get this error:

Error detected while processing functino vundle#config#bundle[2]..<SNR>14_check_bundle_name:
line 2:
Vundle error: Name collision for Plugin davidhalter/jedi-vim. Plugin davidhalter/jedi-vim previously used the name "jedi-vim". Skipping Plugin davidhalter/jedi-vim.
Vundle error: Name collision for Plugin ....
Vundle error: Name collision for Plugin ....

I get an error for each plugin specified in the type specific vim settings file. Apart from this error message, all plugins are working, and I get this error not on the first start of gvim, but after loading another file.

This is how my .vim/after/plugin/python.vim file looks like:

filetype off
Plugin 'davidhalter/jedi-vim'
Plugin 'jaredly/vim-debug'
Plugin 'tmhedberg/SimpylFold'
filetype plugin indent on
...
ZaydH commented 4 years ago

I ran into this issue as well. Was a fix/workaround ever found to address this? I load certain plugins only for certain filetypes (e.g., tex).