Make ctrlp#call return the result
This is useful to make extensions/custom match functions to execute internal methods like MatchIt Closes #315
This commit is contained in:
parent
7251d9dce8
commit
92b0774d35
@ -2054,7 +2054,7 @@ fu! ctrlp#hicheck(grp, defgrp)
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
fu! ctrlp#call(func, ...)
|
fu! ctrlp#call(func, ...)
|
||||||
cal call(a:func, a:000)
|
retu call(a:func, a:000)
|
||||||
endf
|
endf
|
||||||
"}}}1
|
"}}}1
|
||||||
" * Initialization {{{1
|
" * Initialization {{{1
|
||||||
|
@ -1241,6 +1241,7 @@ Special thanks:~
|
|||||||
* Lowe Thiderman <github.com/thiderman>
|
* Lowe Thiderman <github.com/thiderman>
|
||||||
* Christopher Fredén <github.com/icetan>
|
* Christopher Fredén <github.com/icetan>
|
||||||
* Zahary Karadjov <github.com/zah>
|
* Zahary Karadjov <github.com/zah>
|
||||||
|
* Jo De Boeck <github.com/grimpy>
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
CHANGELOG *ctrlp-changelog*
|
CHANGELOG *ctrlp-changelog*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user