From 4645d04a3cf0aa4a41c6450294ec6ed04dba3e11 Mon Sep 17 00:00:00 2001 From: Kien N Date: Wed, 6 Jun 2012 09:23:07 +0700 Subject: [PATCH] Slight sorting tweak --- autoload/ctrlp.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index a04ca80..56489b0 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -1119,7 +1119,8 @@ fu! s:mixedsort(...) if !s:itemtype | let ms += [s:comparent(a:1, a:2)] | en en if s:itemtype =~ '^[12]$' - let ms += [s:compmref(a:1, a:2)] | let cln = 0 + let ms += [s:compmref(a:1, a:2)] + let cln = cml ? cln : 0 en let ms += [cml, 0, 0, 0] let mp = call('s:multipliers', ms[:3])