We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 099b918 commit bff90d7Copy full SHA for bff90d7
autoload/pathogen.vim
@@ -44,6 +44,7 @@ endfunction
44
" Split a path into a list.
45
function! pathogen#split(path) abort
46
if type(a:path) == type([]) | return a:path | endif
47
+ if empty(a:path) | return [] | endif
48
let split = split(a:path,'\\\@<!\%(\\\\\)*\zs,')
49
return map(split,'substitute(v:val,''\\\([\\,]\)'',''\1'',"g")')
50
endfunction
0 commit comments