Pathogen not loading plugins on Arch Linux
I moved my config files from Ubuntu installation to the new Arch installation and apparently pathogen just ignores all my plugins. I am sure I copied all the files correctly.
I call pathogen with
execute pathogen#infect()
All my plugins are visible in the :set rtp output.
No plugin files are however visible in the :scriptnames output.
All filetype related fixes found online don't work.
Vim version: 7.4.86 OS: Arch
Check :set compatible? and :set loadplugins? and make sure they're correct.
All combinations of :set compatibile and :set loadplugins failed to solve this issue.
Dunno what to say. The only thing pathogen does is change 'runtimepath', and it sounds like it succeeded at that. I'd speculate that the Vim shipped with Arch is super stripped down, but then I wouldn't expect pathogen to work at all.
OK, just wanted to let you know about the issue.
I'm using Arch Linux too, but I don't have any issues using pathogen. Have you tried it with a plain .vimrc, which just contains "execute pathogen#infect()"?
I am having the exact same issue, but on Windows 7, Vim 7.3.89. Everything in :set rtp looks good, but many plugins are missing from :scriptnames.
Then I noticed, however, that it seemed only .vim files in any bundle's ftdetect folder were getting loaded. And sure enough, if I move my .vim files from plugins or autoload to ftdetect, everything starts working. This doesn't seem like a great solution, though - any ideas?
I removed vim, made sure that all files were deleted and copied them again. That fixed the problem and I have no idea what was the issue here. Apparently it was vim/OS related, which is weird because I used pacman to install it both now and earlier.
@royaldark One other cause could be that you called pathogen after plugins have started loading, which is too late to add additional plugins to load. Check :scriptnames and make sure pathogen appears before any other plugins.
@tpope Thanks! Turns out I was accidentally loading the default gvim plugins before Pathogen. Problem solved.