Skip to content

Commit 9bf37a4

Browse files
committed
Pass argument
1 parent a609647 commit 9bf37a4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2834,9 +2834,7 @@ endf
28342834

28352835
fu! ctrlp#update(...)
28362836
cal s:ForceUpdate()
2837-
if a:0 && a:1
2838-
cal s:BuildPrompt(1)
2839-
en
2837+
if a:0 | cal s:BuildPrompt(a:1) | en
28402838
endf
28412839

28422840
" - Autocmds {{{1

0 commit comments

Comments
 (0)