Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CtrlPCurWD CtrlPRoot broken #6

Closed
pinkchry opened this issue Sep 18, 2011 · 1 comment
Closed

CtrlPCurWD CtrlPRoot broken #6

pinkchry opened this issue Sep 18, 2011 · 1 comment
Labels

Comments

@pinkchry
Copy link

Guess no one has used these yet! I tracked these down to the following lines

if exists('a:1') && len(a:1) == 1 && !type('a:1')
    let l:pathmode = a:1
elseif exists('a:1') && len(a:1) > 1 && type('a:1')

which should be changed to

if exists('a:1') && len(a:1) == 1 && !type(a:1)
    let l:pathmode = a:1
elseif exists('a:1') && len(a:1) > 1 && type(a:1)
@kien
Copy link
Owner

kien commented Sep 18, 2011

That's great. Thank you! This just prompted me to check all the type() instances.

@kien kien closed this as completed Sep 18, 2011
nfvs pushed a commit to nfvs/ctrlp.vim that referenced this issue Aug 8, 2014
Translate documentation to Chinese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants