From 7251d9dce85e45b41dab00d7d7032713847ed5ea Mon Sep 17 00:00:00 2001 From: Kien N Date: Wed, 24 Oct 2012 19:25:28 +0700 Subject: [PATCH] Re-resize to work around windows with winfixheight set Rix #302 --- autoload/ctrlp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index ba75c69..324ad3a 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -273,7 +273,7 @@ fu! s:Close() if exists('s:glb_acd') | let &acd = s:glb_acd | en let g:ctrlp_lines = [] if s:winres[1] >= &lines && s:winres[2] == winnr('$') - exe s:winres[0] + exe s:winres[0].s:winres[0] en unl! s:focus s:hisidx s:hstgot s:marked s:statypes s:cline s:init s:savestr \ s:mrbs s:did_exp