Permalink
Browse files

Fix appending "after" directories on Windows

  • Loading branch information...
1 parent 9dc6d06 commit f4f79bc7205b6c101955f32985a4d1b1da0be556 @leoluz leoluz committed with tpope May 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/pathogen.vim
View
@@ -108,7 +108,7 @@ function! pathogen#runtime_append_all_bundles(...) " {{{1
let list = []
for dir in pathogen#split(&rtp)
if dir =~# '\<after$'
- let list += pathogen#glob_directories(substitute(dir,'after$',name.sep.'*[^~]'.sep.'after','')) + [dir]
+ let list += pathogen#glob_directories(substitute(dir,'after$',name,'').sep.'*[^~]'.sep.'after') + [dir]
else
let list += [dir] + pathogen#glob_directories(dir.sep.name.sep.'*[^~]')
endif

0 comments on commit f4f79bc

Please sign in to comment.