Skip to content

Commit a609647

Browse files
committed
Add flag to BuildPrompt.
1 parent eb45a52 commit a609647

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

autoload/ctrlp.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2832,8 +2832,11 @@ fu! s:NotifySearch()
28322832
en
28332833
endf
28342834

2835-
fu! ctrlp#update()
2835+
fu! ctrlp#update(...)
28362836
cal s:ForceUpdate()
2837+
if a:0 && a:1
2838+
cal s:BuildPrompt(1)
2839+
en
28372840
endf
28382841

28392842
" - Autocmds {{{1

0 commit comments

Comments
 (0)