vim-pathogen icon indicating copy to clipboard operation
vim-pathogen copied to clipboard

Pathogen not loading plugins on Arch Linux

Open boreq opened this issue 12 years ago • 9 comments

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

boreq avatar Dec 31 '13 10:12 boreq

Check :set compatible? and :set loadplugins? and make sure they're correct.

tpope avatar Dec 31 '13 15:12 tpope

All combinations of :set compatibile and :set loadplugins failed to solve this issue.

boreq avatar Dec 31 '13 16:12 boreq

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.

tpope avatar Dec 31 '13 16:12 tpope

OK, just wanted to let you know about the issue.

boreq avatar Jan 01 '14 15:01 boreq

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()"?

thomasba avatar Jan 06 '14 13:01 thomasba

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?

royaldark avatar Jan 08 '14 10:01 royaldark

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.

boreq avatar Jan 08 '14 16:01 boreq

@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 avatar Jan 09 '14 03:01 tpope

@tpope Thanks! Turns out I was accidentally loading the default gvim plugins before Pathogen. Problem solved.

royaldark avatar Jan 13 '14 16:01 royaldark