Skip to content

Commit c951061

Browse files
committed
Fix #138
1 parent 2498ddd commit c951061

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ endf
428428
if has('patch-8.2-0995')
429429
fu! s:GlobPath(dirs, depth)
430430
let entries = []
431-
let dirs = substitute(a:dirs, '\\\([%#]\)', '\1', 'g')
431+
let dirs = substitute(a:dirs, '\\\([%# ]\)', '\1', 'g')
432432
for e in split(dirs, ',')
433433
sil let files = readdir(e, '1', {'sort': 'none'})
434434
if !s:showhidden | cal filter(files, 'v:val[0] != "."') | en

0 commit comments

Comments
 (0)