Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 92b0774d35bde0a0e28ea14e23083bfcfe9748af 1 parent 7251d9d
@grimpy grimpy authored committed
Showing with 2 additions and 1 deletion.
  1. +1 −1  autoload/ctrlp.vim
  2. +1 −0  doc/ctrlp.txt
View
2  autoload/ctrlp.vim
@@ -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
1  doc/ctrlp.txt
@@ -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*
Please sign in to comment.
Something went wrong with that request. Please try again.