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 e7cf704 commit 2a92396Copy full SHA for 2a92396
1 file changed
autoload/ctrlp.vim
@@ -453,6 +453,9 @@ fu! s:UserCmd(lscmd)
453
let path = tr(path, '\', '/')
454
en
455
if s:usrcmdasync && v:version >= 800 && exists('*job_start')
456
+ if exists('s:job')
457
+ call job_stop(s:job)
458
+ en
459
let g:ctrlp_allfiles = []
460
let s:job = job_start(printf(lscmd, path), {'callback': 'ctrlp#addfile'})
461
elsei has('patch-7.4-597') && !(has('win32') || has('win64'))
0 commit comments