Permalink
Browse files

Make ctrlp#call return the result

This is useful to make extensions/custom match functions to execute
internal methods like MatchIt

Closes #315
  • Loading branch information...
1 parent 7251d9d commit 92b0774d35bde0a0e28ea14e23083bfcfe9748af @grimpy grimpy committed with Nov 16, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 autoload/ctrlp.vim
  2. +1 −0 doc/ctrlp.txt
View
@@ -2054,7 +2054,7 @@ fu! ctrlp#hicheck(grp, defgrp)
endf
fu! ctrlp#call(func, ...)
- cal call(a:func, a:000)
+ retu call(a:func, a:000)
endf
"}}}1
" * Initialization {{{1
View
@@ -1241,6 +1241,7 @@ Special thanks:~
* Lowe Thiderman <github.com/thiderman>
* Christopher Fredén <github.com/icetan>
* Zahary Karadjov <github.com/zah>
+ * Jo De Boeck <github.com/grimpy>
===============================================================================
CHANGELOG *ctrlp-changelog*

0 comments on commit 92b0774

Please sign in to comment.