ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

Error detected while processing function ctrlp#init[31]..<SNR>71_setlines_post[6]..ctrlp#files[8]..<SNR>71_GlobPath: #555

Closed pypanta closed 3 years ago

pypanta commented 3 years ago

After update, I am getting this error messages when I run ctrlp:

Error detected while processing function ctrlp#init[31]..<SNR>71_setlines_post[6]..ctrlp#files[8]..<SNR>71_GlobPath:
line    3:
E118: Too many arguments for function: readdir
line    4:
E121: Undefined variable: files
E116: Invalid arguments for function filter
line    5:
E121: Undefined variable: files
E116: Invalid arguments for function map(files, 'e.s:lash.v:val')
line    6:
E171: Missing :endif: ^I^Iendfo
E171: Missing :endif: ^I^Iendfo
thatnerdjosh commented 3 years ago

Temporary workaround if using vim-plug:

Plug 'ctrlpvim/ctrlp.vim', {'commit': '1a8da4b'}

Then run :PlugUpdate and restart ViM

There seems to have been a bug introduced at some point between HEAD and 1a8da4b

mattn commented 3 years ago

Fixed https://github.com/ctrlpvim/ctrlp.vim/commit/ae5237f8eb9bbc1ad7f8903738e0dc2af194f740