diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index c333670..62be447 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -221,7 +221,8 @@ fu! ctrlp#clra() let cache_dir = ctrlp#utils#cachedir() if isdirectory(cache_dir) let cache_files = split(s:glbpath(cache_dir, '**', 1), "\n") - let eval = '!isdirectory(v:val) && v:val !~ ''\[.a-z]+$|\.log$''' sil! cal map(filter(cache_files, eval), 'delete(v:val)') en cal ctrlp#clr() diff --git a/autoload/ctrlp/bookmarkdir.vim b/autoload/ctrlp/bookmarkdir.vim index 1e1bef5..2fb9ab8 100644 --- a/autoload/ctrlp/bookmarkdir.vim +++ b/autoload/ctrlp/bookmarkdir.vim @@ -34,8 +34,8 @@ endf fu! s:cachefile() if !exists('s:cadir') || !exists('s:cafile') - let s:cadir = ctrlp#utils#cachedir().ctrlp#utils#lash().'bookmark' - let s:cafile = s:cadir.ctrlp#utils#lash().'dir.txt' + let s:cadir = ctrlp#utils#cachedir().ctrlp#utils#lash().'bkd' + let s:cafile = s:cadir.ctrlp#utils#lash().'cache.txt' en retu s:cafile endf