-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subdirectories of bundles are not parsed for addition to rtp #46
Comments
I found that changing: to: in lines 153 and 155 results in the 'after' dirs being included in the rtp. I don't know if it's an issue (or matters) but the 'after' dirs are included in the middle of the list produced by :scriptnames and I'm expecting them at the end. ie. they come 'after' all other *.vim files. My snipmate plugin is still not working (maybe because of this?) |
snipmate worked fine for me with pathogen |
@jmcaffee, that solution causes every single directory inside every single bundle to be added, surely not what you had in mind. As a first step, can you post the output of |
Hint: run |
You are correct about every single directory being added. And it appears that there is a limit on the length of the runtimepath that I am now hitting... Here's the runtime path: |
I don't think there's a limit on length, just That's a weird mixture of |
|
Then what did you mean by a "limit on the length of the runtimepath"? |
Additionally, the directory |
I had added ruby_debugger plugin to the bundle directory and I started getting errors about spelling files not being found. When I checked the runtimepath at that point, it was being truncated (visually, anyway) and I assumed it was because it had been made so long. I was using Keep in mind that there are a lot of directories in the ruby_debugger tree and they were all being added due to my change ( After removing the ruby_debugger plugin from the bundle dir, the missing spell files errors went away. When I started gvim using the command line given by @sunaku, Starting gvim with
|
I did want to point out that I was calling pathogen from my vimrc file with the following signature: I changed the infect call to: It appears that runtime_append_all_bundles() doesn't look any deeper into the directory trees than the initial level -- meaning that it would find bundle/after but not bundle/somedir/after. I'm not sure if this is the intended result or not. |
It does look deeper once it hits the after directories in |
I'm having this issue too. Under Cygwin and Linux there is not an issue with the length of the runtimepath set rtp shows everything. On Windows however 7.3.46 my rtp gets truncated at 1023 characters. The Cygwin/Linux Vim versions are a bit newer (7.3.353/7.3.154). I wonder if the rtp limit was removed in a later patch or if it's just a Windows thing? Never mind. I'm an idiot. It's just the path display (as you indicated earler) that's truncated. The issue is with snipmate. Not the amazingly awesome pathogen :-). |
I'm running Vim 7.3 on windows 7.
The issue I'm having is that the after dir is not being added to the rtp for the snipmate plugin. The snipmate dir structure is:
~\vimfiles\bundle\snipmate
~\vimfiles\bundle\snipmate\after
From debugging, it looks like ~\vimfiles\bundle\snipmate is added to rtp but no directories under snipmate are added.
By moving ...\snipmate\after dir to directly under bundle, the directory is added as expected.
I am running the latest version of pathogen and from reviewing the issues log, I have verified that previous fixes to pathogen#runtime_append_all_bundles() are in the version of pathogen I've got installed.
The text was updated successfully, but these errors were encountered: