From b684f3bbbbd5ce027814e20640afc49742e093a9 Mon Sep 17 00:00:00 2001 From: Eduardo Sousa Date: Fri, 26 Sep 2014 00:52:21 -0300 Subject: [PATCH] Issue #140 - Fix for using pathogen or bundle from a Windows SMB file share --- autoload/pathogen.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim index a13ae08f..0c4144fc 100644 --- a/autoload/pathogen.vim +++ b/autoload/pathogen.vim @@ -127,6 +127,7 @@ function! pathogen#interpose(name) abort let s:done_bundles[name] = 1 let list = [] for dir in pathogen#split(&rtp) + let dir = substitute(dir, '^\\', '\\\\', '') if dir =~# '\