Keep the deftxt string as-is

This commit is contained in:
Kien N 2013-03-29 07:29:49 +07:00
parent 287b9c12aa
commit 4815dc9ada

View File

@ -584,8 +584,6 @@ fu! s:SetDefTxt()
let txt = txt && !stridx(s:crfpath, s:dyncwd) let txt = txt && !stridx(s:crfpath, s:dyncwd)
\ ? ctrlp#rmbasedir([s:crfpath])[0] : '' \ ? ctrlp#rmbasedir([s:crfpath])[0] : ''
let txt = txt != '' ? txt.s:lash(s:crfpath) : '' let txt = txt != '' ? txt.s:lash(s:crfpath) : ''
el
let txt = expand(txt, 1)
en en
let s:prompt[0] = txt let s:prompt[0] = txt
endf endf