fix behavior ':CtrlP .'

This commit is contained in:
mattn 2011-12-13 21:43:06 +09:00
parent f7322b3d12
commit c90a61f36d

View File

@ -644,7 +644,7 @@ fu! s:SetWD(...) "{{{1
let pathmode = s:pathmode
if exists('a:1') && len(a:1) == 1 && !type(a:1)
let pathmode = a:1
elsei exists('a:1') && len(a:1) > 1 && type(a:1)
elsei exists('a:1') && len(a:1) >= 1 && type(a:1)
cal ctrlp#setdir(a:1) | retu
en
if !exists('a:2')