-
-
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
Pathogen doesn't work with UNC paths on Windows #108
Comments
I can't dig into this now, but I think you're correct in blaming Take a stab yourself, or post back both |
Not that I'm offering any useful help but I wonder if this issue is on a to-do list? Would it be any help for me to post |
It's in an issue tracker, but you already knew that. And yes, I asked for those values because they would be helpful. |
I'm feeling a little stupid now. I'll paste those values tomorrow when I'm back on that Windows machine. |
Apologies for the earlier density. If I can add anything else that would be helpful please let me know. I don't know if it's relevant or not but pathogen worked for adding a theme [kolor] but not for adding NERDTree. This is the issue that prompted me to check github for existing issues. |
I don't see any UNC paths in there. Is this even the same issue? On Fri, May 30, 2014 at 5:03 AM, padraic [email protected] wrote:
|
The X drive is a networked drive |
So no, not the same issue. Please open a new issue with your actual symptoms. |
I'm trying to use pathogen with a vimfiles directory on a network share accessible via a UNC path (e.g., \networkdrive\profileDir\vimfiles). Pathogen does not seem to like this very much. I've done a little debugging, but not a lot. There are a few issue's I've seen.
execute pathogen#infect()
doesn't seem to work. Looking at the debug output,pathogen#glob
is returning an empty list when I think it should be a list of directories. Further, my normal vimfiles directory gets mangled in the runtimepath to \networkdrive\profileDir\vimfiles, with a single leading slash instead of two.pathogen#infect(~/vimfiles/bundle/{})
instead. Pathogen will now find all my plugins and modify the runtimepath, but all the directories it adds are of the form \\networkdrive\profile\vimfiles\bundle\plugin, with three leading slashes. My normal vimfiles directory still starts with one.substitute
at the end ofpathogen#join
which replaces\\\\\\
with\\\\
. This fixes the added paths, so my bundled plugins load correctly now, but my normal vimfiles path is still mangled which means nothing else outside of the bundle directory gets loaded.I've run vim with various debugging levels and put the logs up here.
vim -Vlog
vim -V12log
vim -V15log
The text was updated successfully, but these errors were encountered: