Allow use of function references as callbacks (#1067)

This commit is contained in:
Alejandro Sanchez
2019-12-15 02:25:17 +01:00
committed by Phil Runninger
parent 82b1649f2e
commit a7886fb6c4
6 changed files with 19 additions and 7 deletions

View File

@@ -1315,6 +1315,10 @@ following code conventions are used:
See this blog post for more details:
http://got-ravings.blogspot.com/2008/09/vim-pr0n-prototype-based-objects.html
A number of API functions take a callback argument to call. The callback can
be either a string with the name of a function to call, or a |Funcref| object
which will be called directly.
------------------------------------------------------------------------------
4.1. Key map API *NERDTreeKeymapAPI*