From 51e26144c528d34abe85cac7e1199461da34b813 Mon Sep 17 00:00:00 2001 From: Kien N Date: Tue, 18 Sep 2012 10:49:45 +0700 Subject: [PATCH] Expose the marked list --- autoload/ctrlp.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index df61b5f..2cd66d2 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -2017,6 +2017,10 @@ fu! ctrlp#getcline() retu !empty(s:lines) ? s:lines[line('.') - 1] : '' endf +fu! ctrlp#getmarkedlist() + retu exists('s:marked') ? values(s:marked) : [] +endf + fu! ctrlp#exit() cal s:PrtExit() endf