diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index f4a0357..22754d6 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -464,7 +464,7 @@ fu! s:BuildPrompt(upd, ...) endf " - SetDefTxt() {{{1 fu! s:SetDefTxt() - if s:deftxt == '0' || s:pathmode == 1 || !s:ispath | retu | en + if s:deftxt == '0' || !s:ispath | retu | en let txt = s:deftxt if !type(txt) let txt = txt && !stridx(s:crfpath, s:dyncwd)