kien/ctrlp.vim — Issue #18: ctrlp_working_path_mode = 2  produces and error in FindRoot
Author: iynaix
Created: 2011-10-10 06:21:20+00:00
State: open

With the following line in my vimrc:

let g:ctrlp_working_path_mode = 2

Every time I invoke ctrlp, I receive the following error:

Error detected while processing function ctrlp#init..ctrlp#SetWorkingPath..56_FindRoot:
line 10:
E121: Undefined variable: a:1
E116: Invalid arguments for function 56_FindRoot
line 11:
E171: Missing :endif
line 10:
E121: Undefined variable: a:1
E116: Invalid arguments for function 56_FindRoot
line 11:
E171: Missing :endif
line 10:
E121: Undefined variable: a:1
E116: Invalid arguments for function 56_FindRoot
line 11:
E171: Missing :endif
line 10:
E121: Undefined variable: a:1
E116: Invalid arguments for function 56_FindRoot
line 11:
E171: Missing :endif
line 10:
E121: Undefined variable: a:1