Skip to content

Commit ae5237f

Browse files
committed
Check readdir with options
1 parent 427e300 commit ae5237f

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
@@ -425,7 +425,7 @@ fu! s:CloseCustomFuncs()
425425
en
426426
endf
427427

428-
if exists('*readdir')
428+
if has('patch-8.2-0995')
429429
fu! s:GlobPath(dirs, depth)
430430
let entries = []
431431
for e in split(a:dirs, ',')

0 commit comments

Comments
 (0)