From 3453b0d473a71efa792cae9946eb97e32528ac7a Mon Sep 17 00:00:00 2001 From: Kien N Date: Thu, 9 Feb 2012 20:58:11 +0700 Subject: [PATCH] Fix console dialogs being hidden Close #136 --- autoload/ctrlp.vim | 14 ++++++-------- autoload/ctrlp/quickfix.vim | 2 +- autoload/ctrlp/tag.vim | 4 ++-- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index 8f81bc9..c71edcb 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -334,7 +334,7 @@ fu! s:MatchedItems(items, pat, limit) retu newitems endf fu! s:SplitPattern(str) "{{{1 - let str = s:sanstail(a:str) + let str = a:str if s:migemo && s:regexp && len(str) > 0 && executable('cmigemo') let str = s:migemo(str) en @@ -402,16 +402,14 @@ endf fu! s:Update(str) " Get the previous string if existed let oldstr = exists('s:savestr') ? s:savestr : '' - let pat = s:SplitPattern(a:str) " Get the new string sans tail - let notail = substitute(a:str, '\\\\', '\', 'g') - let notail = substitute(notail, '\\\@