We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ce448c + 900f086 commit 379e0bdCopy full SHA for 379e0bd
1 file changed
autoload/ctrlp.vim
@@ -330,6 +330,7 @@ fu! s:Open()
330
endf
331
332
fu! s:Close()
333
+ if &cmdheight != 0 | set cmdheight=0 |en
334
cal s:async_glob_abort(0)
335
cal s:buffunc(0)
336
if winnr('$') == 1
@@ -2845,6 +2846,8 @@ fu! ctrlp#init(type, ...)
2845
2846
if shouldExitSingle && s:ExitIfSingleCandidate()
2847
retu 0
2848
en
2849
+
2850
+ if &cmdheight == 0 | set cmdheight=1 | en
2851
cal s:BuildPrompt(1)
2852
if s:keyloop | cal s:KeyLoop() | en
2853
retu 1
0 commit comments