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.
1 parent 2868678 commit d2ca72cCopy full SHA for d2ca72c
2 files changed
autoload/ctrlp.vim
@@ -303,7 +303,6 @@ fu! s:match_window_opts()
303
let s:mw_res =
304
\ s:mw =~ 'results:[^,]\+' ? str2nr(matchstr(s:mw, 'results:\zs\d\+'))
305
\ : min([s:mw_max, &lines])
306
- let s:mw_res = max([s:mw_res, 1])
307
endf
308
"}}}1
309
" * Open & Close {{{1
doc/ctrlp.txt
@@ -148,6 +148,7 @@ The minimum and maximum heights:
148
149
The maximum number of results:
150
results:{n} - list maximum {n} results (default: sync with max height).
151
+ 0 mean no-limit.
152
153
Note: When a setting isn't set, its default value will be used.
154
0 commit comments