Don't need to check pathmode
This commit is contained in:
parent
b3d9e480c8
commit
b41dbb68ba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user