From b41dbb68ba83c302fbd072afdad58e8ec1b36b07 Mon Sep 17 00:00:00 2001 From: Kien N Date: Mon, 16 Apr 2012 13:09:48 +0700 Subject: [PATCH] Don't need to check pathmode --- autoload/ctrlp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)