Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix appending "after" directories on Windows

  • Loading branch information...
commit f4f79bc7205b6c101955f32985a4d1b1da0be556 1 parent 9dc6d06
@leoluz leoluz authored tpope committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  autoload/pathogen.vim
View
2  autoload/pathogen.vim
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.